Use the preprocessor to rename external functions of the SWIG runtime
API to follow the naming convention SWIG_<language>_<function>. This should allow linking more than one interpreter into a program. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2c2f1b87be
commit
de27e32afb
14 changed files with 127 additions and 16 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include "Python.h"
|
||||
%}
|
||||
|
||||
%insert(runtime) "precommon.swg";
|
||||
%insert(runtime) "common.swg"; // Common type-checking code
|
||||
%insert(runtime) "pyrun.swg"; // Python run-time code
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue