Re: Need help with parsing stdio.h
Posted by soma on Mar 04, 2014; 6:02pm
URL: https://forum.jogamp.org/Need-help-with-parsing-stdio-h-tp4031763p4031770.html
Thanks for the quick replies! I've played a bit with using stubs of included header files and also with commenting out parts of our own C headers. It turns out that our code is making too much use of features that are not supported by GlueGen (macros, anonymous structs, function pointers).
I really like the clear architecture of GlueGen with the separate code generation step, either configurable or using a custom generator, and also the fact that it works without too much runtime magic.
However, given the numerous issues GlueGen had with parsing our code, we may use JNAerator instead, which seems to digest all of our header files.