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

Is It Necessary To Mention All Functions Of The Wrapped .c File In The Interface File Using Swig?

I try to wrap several .c files to make the accessible via Python. If I want to access all functions… Read more Is It Necessary To Mention All Functions Of The Wrapped .c File In The Interface File Using Swig?

Return List Of New Custom-class Objects In Python C Api

I need to create a new list via the python C API containing new copies of objects of a Quaternion c… Read more Return List Of New Custom-class Objects In Python C Api

How To Pass Python List Address

I want to convert c++ code to python. I have created a python module using SWIG to access c++ class… Read more How To Pass Python List Address

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

Calling A Python Function In C++ With Swig

Here is my c++ code: void callMethod(void (*someMethod)()) { (*someMethod)(); } My Swig .i fil… Read more Calling A Python Function In C++ With Swig

Ld Can't Link With A Main Executable

On OSX 10.6.4 with i686-apple-darwin10-g++-4.2.1 compiling using TextMate and a Makefile which in t… Read more Ld Can't Link With A Main Executable

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

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