2 ms·
How does this work? I thought the struct layout needed to be the same between API boundaries. E.g. If I call a function `foo(struct bar* x)` in some library how
by rowanG077 5y ago
How does this work? I thought the struct layout needed to be the same between API boundaries. E.g. If I call a function `foo(struct bar* x)` in some library how does the compiler know what random struct layout was used for that library?