All type sharing happens through a global variable in the target language. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
9 lines
280 B
Text
9 lines
280 B
Text
/* Python.h has to appear first */
|
|
|
|
%insert(runtime) %{
|
|
#include <Python.h>
|
|
%}
|
|
|
|
%insert(runtime) "common.swg"; /* Common type-checking code */
|
|
%insert(runtime) "pyapi.swg"; /* SWIG/Pyton API */
|
|
%insert(runtime) "pyrun.swg"; /* Python run-time code */
|