Wrapping C++ class API for C consumption

后端 未结 6 1415
滥情空心
滥情空心 2020-12-02 08:07

I have a set of related C++ classes which must be wrapped and exported from a DLL in such a way that it can be easily consumed by C / FFI libraries. I\'m looking for some \"

6条回答
  •  天命终不由人
    2020-12-02 08:47

    This may be of interest: "Mixing C and C++" at the C++ FAQ Lite. Specifically [32.8] How can I pass an object of a C++ class to/from a C function?

提交回复
热议问题