Using SWIG

Wrappers to C and C++ codes can be automatically generated by SWIG
SWIG is more complicated to use than F2PY
First make a SWIG interface file
Then run SWIG to generate wrapper code
Then compile and link the C code and the wrapper code

previousnexttable of contents