summaryrefslogtreecommitdiff
path: root/Lib/runtime.swg
diff options
context:
space:
mode:
authorJohn Lenz <jlenz2@math.uiuc.edu>2005-02-23 22:40:51 +0000
committerJohn Lenz <jlenz2@math.uiuc.edu>2005-02-23 22:40:51 +0000
commit67b49825cba92f445f17c60877f34467b9cda37b (patch)
treef1a96c6274bb376171daacf3c4541ee1ee52d68e /Lib/runtime.swg
parent8d7eaea667fa6f79df266d180eb48bbb3d6226b5 (diff)
downloadswig-67b49825cba92f445f17c60877f34467b9cda37b.tar.gz
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/SWIG@6993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/runtime.swg')
-rw-r--r--Lib/runtime.swg14
1 files changed, 3 insertions, 11 deletions
diff --git a/Lib/runtime.swg b/Lib/runtime.swg
index 750473d52..b4910a717 100644
--- a/Lib/runtime.swg
+++ b/Lib/runtime.swg
@@ -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.
* -----------------------------------------------------------------------------*/