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

Swig Argument Error When Using "using Std::vector" In Python

This is very related to this question Regardless of whether or not this is coding practice, I have … Read more Swig Argument Error When Using "using Std::vector" In Python

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

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

How To Expose Std::vector As A Python List Using Swig?

I'm trying to expose this function to Python using SWIG: std::vector get_match_stats(); And I… Read more How To Expose Std::vector As A Python List Using Swig?

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 mai… Read more Running A Swig Bound Python+c Program Gives A Missing Dll Error When Running On Another Computer

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 Argument Error When Using "using Std::vector" In Python

This is very related to this question Regardless of whether or not this is coding practice, I have … Read more SWIG Argument Error When Using "using Std::vector" In Python