Oh, a bit like inheritance in pure C? Where as long as inheriting struct puts the parent struct as first field, you can pass it to functions that use parent struct because the memory layout rules ensure that this part of memory will be exactly the same in both?
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: