TCC is the wrong tool for the job. Look into SWIG, which already
does this for a number of langauges.

HTH,

Arnold

Kevin Ingwersen via Tinycc-devel <[email protected]> wrote:

> Hello there!
>
> Quick and short question: Can I use libtcc to extract symbol information
> (types, functions, structs, enums, unions) from a C header so that I can
> then use it to generate a wrapper? My goal is to automate the process
> of C interop generation for the V language, which uses TCC as one of
> the mainly supported compilers - so the source is already accessible
> even from a standard V installation, hence my thought of possibly taking
> advantage of that to generate wrappers
> Thank you in advance!
> Kind regards,
> Kevin Ingwersen

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to