Python Swig Add Hand-wrapped Method To Swig Output May 25, 2024 Post a Comment 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
Ctypes Python Swig Combining Ctypes And Swig May 03, 2024 Post a Comment I have been using SWIG for a long time - generally I like it. But doing callback functions seems (… Read more Combining Ctypes And Swig
Arrays C++ Python Swig How To Get Python Slicing To Work With My C++ Array Class Using Swig February 15, 2024 Post a Comment I have an an array class, Array1D, defined in c++ which essentially wraps the STL vector class. I e… Read more How To Get Python Slicing To Work With My C++ Array Class Using Swig
C++ Python Stl Swig How To Expose Std::vector As A Python List Using Swig? January 21, 2024 Post a Comment 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?
C++ Linker Macos Python Swig Ld Can't Link With A Main Executable November 28, 2023 Post a Comment 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
Import Macos Python Swig Importing A .pyd (created With Swig) In Python 2.7.3 On Mac November 26, 2023 Post a Comment 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
Python Swig Calling A Python Function In C++ With Swig August 07, 2022 Post a Comment Here is my c++ code: void callMethod(void (*someMethod)()) { (*someMethod)(); } My Swig .i fil… Read more Calling A Python Function In C++ With Swig