How to port SWIG Python interface file to JavaScript

"Wang, Lin" <[email protected]> Thu, 16 Nov 2023 16:17:24 +0800 (GMT+08:00)
Newsgroups gmane.comp.programming.swig
Message-ID <[email protected]>
Hello SWIG community,




There is a Python package that uses SWIG to call the underlying C++ functionalities. And I want to develop a Node.js package that also uses SWIG and call the same C++ library, what if I want to reuse the existing SWIG Python interface/input file?




Specifically, how can I deal with the Python specific features like the following,

●%feature("director")

●%pythoncode

●PyInt_Check, PyLong_Check etc. in %typemap block




Thanks,

Lin

_______________________________________________
Swig-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swig-user