Closed abbradar closed 9 years ago
@abbradar This is related to #97 and you're right, it will probably require changes to the interface file format. I'll try to do it for the next release but one (0.17.4).
@abbradar I think this is now fixed. Have a look at the test case (in tests/bugs/issue-103) and let me know if that corresponds to the problem you were seeing. Enum definitions are now persisted into the .chi
interface files when C2HS is run on a .chs
file, which was definitely missing before.
Does this also encompass #pointer
types (from issue #97)?
@RyanGlScott Not yet. #97 is on my to-do list for tomorrow. I want to get that and #65 done before or over the weekend then do a new release.
0.19.1 fixes this for me, thanks!
If I use use #enum hooks like this:
This works as expected. If, though, I move #fun hook into separate module and use #import, then I get an error about unknown default marshaller. I suspect that this needs a change in interface files format.