summaryrefslogtreecommitdiff
path: root/Examples/python/simple
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2005-06-28 21:14:24 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2005-06-28 21:14:24 +0000
commitc47c930f596b5f2142dfc53ae2be00e344d64d82 (patch)
tree34736be9e114135577559f419fba30387c16cf70 /Examples/python/simple
parentc838d83d2cd2050d6f583158dc4818554e3adb95 (diff)
downloadswig-c47c930f596b5f2142dfc53ae2be00e344d64d82.tar.gz
fix extern declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/python/simple')
-rw-r--r--Examples/python/simple/example.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/python/simple/example.i b/Examples/python/simple/example.i
index 6702abb1e..24093b9bf 100644
--- a/Examples/python/simple/example.i
+++ b/Examples/python/simple/example.i
@@ -1,5 +1,7 @@
/* File : example.i */
%module example
+%inline %{
extern int gcd(int x, int y);
extern double Foo;
+%}