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

"no Module Named '_'" When Importing A Swig Module With Embedded Python

I'm trying to use SWIG with embedded Python 3.5.2. The following is built as a Windows console … Read more "no Module Named '_'" When Importing A Swig Module With Embedded Python

Extending Swig Builtin Classes

The -builtin option of SWIG has the advantage of being faster, and of being exempt of a bug with mu… Read more Extending Swig Builtin Classes

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?

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

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 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

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

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?