swig
Lifetime of temporary objects in SWIG's Python wrappers (?)
Edited 12 Feb I\'ve just recently come up with an odd crash using some SWIG-generated Python wrappers for some C++ classes.It seems that the combination of SWIG and Python together are somewhat eager[详细]
2023-02-10 05:36 分类:问答SWIG pass stream from python to C++
C++ I have some logger class in C++. This logger is heavily used in my library. The logger allows to set standart STL stream to use as output stream.[详细]
2023-02-09 00:31 分类:问答(mingW) Why does g++ not recognise my class definition when compiling a python extension?
So I am working on a small python extension using the SWIG library. I use 3 commands to compile the extension. the first 2 ones use gcc, and the final one g++, giving a python extension as a result. M[详细]
2023-02-07 17:05 分类:问答Why can't I get swig wrap std::vector to Ruby class?
I have an application with an embedded Ruby interpreter, and interfaces to STL classes generated by swig.[详细]
2023-02-07 11:17 分类:问答SWIG build debugging tools/tips
I am trying to build M2Crypto 0.21.1 with OpenSSL 1.0.0c (or 0.9.7m) for Python 2.5.4 on windows, but SWIG is conspiring against me.I\'ve tried both SWIG 2.0.1 and SWIG 1.3.40 and I get the same error[详细]
2023-02-06 23:54 分类:问答change SWIG wrapper-function return value
I\'m using SWIG to make C# bindings that are compatible with the compact framework (WinCE).I\'ve got most of the immediate issues worked through, but my next blocker is that some of the functions retu[详细]
2023-02-06 16:13 分类:问答Connect a PHP user-space callback as GLib signal handler
I\'m using SWIG to generate a PHP extension over GLib which uses callbacks. To allow usingPHP user-space functions as callbacks, i\'m using something like:[详细]
2023-02-06 16:04 分类:问答How to compile SWIG via windows
I\'ve downloaded swigwin, sigwin for windows, and have been checking examples. However, most examples have to compile like this: swig -example.i. I tried doing this over the cmd prompt but it does not[详细]
2023-02-06 00:09 分类:问答Running a SWIG bound Python+C program gives a missing DLL error when running on another computer
So I have compiled a small testing program that uses SWIG as a bridge between python and C. The main part of the program is the python file. The thing runs fine on my own pc, but as soon as I transfer[详细]
2023-02-05 02:11 分类:问答For Mac, the library extension name can be anything?
I\'m testing SWIG on Mac. The default file extension that SWIG on Mac produces is .so file as follows.[详细]
2023-02-04 14:54 分类:问答