C++ to C Wrapper using SWIG (for FLTK)

前端 未结 1 1141
走了就别回头了
走了就别回头了 2021-01-11 13:14

I need to generate wrapper to FLTK C++ classes to use it in pure C. I know, that SWIG can do that, and I know how to generate wrapper for C#, Python etc. But I do not know h

相关标签:
1条回答
  • 2021-01-11 14:07

    I don't think SWIG supports generation of C wrappers out of the box. You always need to specify a target language. In 2008, there was a GSoC project to write a C backend, but that was apparently never completed/incorporated into SWIG.

    0 讨论(0)
提交回复
热议问题