Add support for the -external-runtime argument and update all language modules to use it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6c63b1c5b9
commit
ef58056ffd
18 changed files with 233 additions and 46 deletions
|
|
@ -1,17 +1,9 @@
|
|||
/* -----------------------------------------------------------------------------*
|
||||
Standard SWIG API for use inside user code.
|
||||
|
||||
You need to include in your code as follow:
|
||||
|
||||
#include <Python.h> // or using your favorite language
|
||||
#include <swigrun.swg>
|
||||
#include <python/pyrun.swg> // or using your favorite language
|
||||
#include <runtime.swg>
|
||||
|
||||
For perl, the following
|
||||
#include <swigrun.swg>
|
||||
#include <perl5/perlrun.swg>
|
||||
#include <runtime.swg>
|
||||
Don't include this file directly, run the command
|
||||
swig -python -external-runtime
|
||||
Also, read the Modules chapter of the SWIG Manual.
|
||||
|
||||
* -----------------------------------------------------------------------------*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue