4 ms·
And alignment?
by jenadine 3y ago
And alignment?
- cozzyd 3y agoyes, you may need an alignas depending on platform (though you probably want it even if unaligned access is supported).
- kazinator 3y agoJust use alloca. // in your code, which you could write a helper macro for if you were so inclined opaque_foo_t *my_foo = alloca(opaque_foo_sz()); opaque_foo_init(my_foo);