Skip to content Skip to sidebar Skip to footer

How To Convert Swig Object Of Type 'int *' To Ctypes Int*

I was using Python to process some data (int array). It is very slow. So I put the processing function in a c++ DLL and talk with it through ctypes. The data are loaded from swig-w

Solution 1:

It seems no solution to do that after a few attempts. A simple way to fix this problem is wrapping the c++ code with SWIG, so can pass it to other SWIG-wrapped modules.


Post a Comment for "How To Convert Swig Object Of Type 'int *' To Ctypes Int*"