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?

Swig With Python And C: Arguments

I have this function: void func(int* a, int b); Which I want to make available in python like so: … Read more Swig With Python And C: Arguments

Importing A .pyd (created With Swig) In Python 2.7.3 On Mac

I have created a .pyd file with SWIG under Windows named (_example.pyd). I am able to send the file… Read more Importing A .pyd (created With Swig) In Python 2.7.3 On Mac

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

Compiling Swig Wrapper For Python In Windows

First, thank all of you for all the answer you gave me on this forum the last years, but today I co… Read more Compiling Swig Wrapper For Python In Windows

Releasing Python Gil While In C++ Code

I've got a library written in C++ which I wrap using SWIG and use in python. Generally there is… Read more Releasing Python Gil While In C++ Code

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?

Use Struct In Swig Argout Typemap

I want to call a C function from Python, which should create and initialize a struct. I want this s… Read more Use Struct In Swig Argout Typemap