I\'ve created a PHP extension with SWIG and everything works fine, but I\'m observing some strange garbage collection behavior when chaining method calls. For example, this works:
I\'m wrapping a C++ library in PHP using SWIG and there have been some occasions where I want to modify the generated code (both generated C++ and PHP):
I am really new to SWIG. I tried to compile the example given in SWIG but I get the following error: $ python
I\'m swigging to Java. I\'m trying to get a templated member func to use some templated return type, which i have to give a name of course (since otherwise SWIG would not create the needed source).
I\'m having a memory leak problem wrapping a C++ library in PHP using SWIG. It seems to happen when callbacks from C++ containing complex types are sent to PHP while directors are enabled. Here is a s
I have a C++ library开发者_Go百科 which provides the following enum and function: typedef enum en{
I have a library for which I have created a python wrapper using SWIG. The library itself accepts user provided functions which are in an .so file that is dynamically linked. At the moment I\'m dealin
HI all开发者_高级运维 I am trying to use SWIG to export C++ code to Python. The C sample I read on the web site does work but I have problem with C++ code.
Anyone have any experience using SWIG? I a开发者_JAVA百科m currently researching QuantLib and saw that C# code can be generated using SWIG. We are exploring options to create a combined library of fin
I have the following C++ function: void foo() { std::cou开发者_如何转开发t << \"bar\" << std::endl;