Our C++ lib works fine with Python2.4 using Swig, returning a C++ char* back to a python str. But this solution hit problem in Python3.0, error is:
We\'re using some C library in our Java project. Several years ago some other developer which has retired few years ago (as always) has created all the wrappers for us. The wrappers were generated by
I have a class with a method called GetEnemiesLua. I have bound this class to lua using SWIG, and I can call this method using my lua code.
I\'ve been trying to create a SWIG wrapper for this tiny little C++ class for the better part of 3 hours with no success, so I was hoping one of you out there开发者_StackOverflow社区 could lend me a s
I\'ve a problem with SWIG and python. I\'ve a c-class that compiles correctly, but the python开发者_开发知识库 script says it can\'t find the module.
I am trying to wrap some legacy code for use in Java and I was quite happy to see that Swig was able to handle the header file and it generate a great wrapper that almost works.Now I am looking for th
I am trying to write Python wrap for C code which uses struct. modules.c: struct foo { int a; }; struct foo bar;
I am trying to use SWIG to wrap some C++ code for the use with Python. As described here it seems to be necessary to link my C++ code against an .so file, not a .dylib file. The thread suggests to use
I have a library that I have been using successfully with PHP 5.1.6 with the help of some wrapper code generated by SWIG (v1.3.40).
My code has an interface like class IExample { ~IExample(); //pure virtual methods ...}; a class inheriting the interface like