about header file parsing

akrl@sdf.org akrl@sdf.org
Tue Jan 1 00:00:00 GMT 2019


Hi all,
I have a basic question.
Is there a way to ask libgccjit to parse a conventional .h file?
Or alternatively is there a way to have an header file parsed and
converted in the equivalent libgccjit api calls?
I ask this because I noticed that, if you jit some code that have to
inter-operate with non jitted code, maintaining two duplicated definitions
of all data structures can be quite painful if these are not trivial.
Alternatively what's the suggested work flow?

Best Regards
  Andrea



More information about the Jit mailing list