allow to include the swig runtime code into external user libraries

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-11-18 00:37:33 +00:00
commit 0baa17ec05
16 changed files with 770 additions and 598 deletions

View file

@ -1,9 +1,9 @@
/* Python.h has to appear first */
%insert(runtime) %{
#include <Python.h>
%}
%insert(runtime) "swigrun.swg"; /* Common C API type-checking code */
%insert(runtime) "common.swg"; /* Common type-checking code */
%insert(runtime) "pyapi.swg"; /* SWIG/Pyton API */
%insert(runtime) "pyrun.swg"; /* Python run-time code */