Closed flaviojs closed 1 month ago
We have support for this (#431), is that not working? You need to set the layout.packed
config tho.
When I did not see the struct details I was expecting a warning message about the type, like other skipped types.
Searching the issues and reading the docs did not enlighten me about layout.packed
.
Now I know how to generated the struct details. It works, thanks. :+1:
I can't get cbindgen to generate packed structs.
I was expecting something like:
to generate the C code:
What is the correct way to generate a packed struct? (if needed, I'm willing to implement the feature in cbindgen)