Skip to content Skip to sidebar Skip to footer
Showing posts with the label Swig

Swig Bindings For Python/lua Do Not Initialize Member Data Properly

I'm trying to build a set of Lua bindings for a collection of C++ classes, but have been toying… Read more Swig Bindings For Python/lua Do Not Initialize Member Data Properly

How Should I Unit Test A Code-generator?

This is a difficult and open-ended question I know, but I thought I'd throw it to the floor and… Read more How Should I Unit Test A Code-generator?

Swig Function With Pointer Struct

Im new using SWIG to wrapped C shared library. I have problem to call a C function with Struct poin… Read more Swig Function With Pointer Struct

Can I Use Generated Swig Code To Convert C++ Object To Pyobject?

I'm working on embedding python into my C++ program using swig. At the moment I have a object w… Read more Can I Use Generated Swig Code To Convert C++ Object To Pyobject?

Swig Struct Pointer As Output Parameter

I have a struct: struct some_struct_s { int arg1; int arg2; }; I have a C function: int func… Read more Swig Struct Pointer As Output Parameter

A Trivial Python Swig Error Question

I am trying to get Python running with swig to do C/C++. I am running the tutorial here, 'buil… Read more A Trivial Python Swig Error Question

Swig Wrapping C++ For Python: Translating A List Of Strings To An Stl Vector Of Stl Strings

I would like to wrap a C++ function with SWIG which accepts a vector of STL strings as an input arg… Read more Swig Wrapping C++ For Python: Translating A List Of Strings To An Stl Vector Of Stl Strings

Add Hand-wrapped Method To Swig Output

I have a SWIG module where I want to add a hand-rolled method. %module frob %inline %{ int Fo… Read more Add Hand-wrapped Method To Swig Output