You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to invest in self-hosted before investing in improving .h file generation; this way the work on this feature can be done once rather than twice.
SpexGuy
added
bug
Observed behavior contradicts documented or intended behavior
emit-h
This issue is related to generating .h files for C interop
labels
Mar 21, 2021
Starting with this code:
Then running
zig build-lib main.zig
, I find this line in the generated header:struct ThingHolder(i8,8);
If I change
pub
toexport
fordo_thing
, I also get this line:void do_thing(struct ThingHolder(i8,8) * bar);
I expect it to either generate valid C tokens or abort with an error message.
The text was updated successfully, but these errors were encountered: