*** empty log message ***

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@3553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2002-08-14 18:31:34 +00:00
commit d3922eb1e0
8 changed files with 479 additions and 59 deletions

View file

@ -89,9 +89,8 @@ Turning C code into a Python module is also easy. Simply do the following (show
unix % swig -python example.i
unix % gcc -c example.c example_wrap.c \
-I/usr/local/include/python1.4 \
-I/usr/local/lib/python1.4/config
unix % ld -shared example.o example_wrap.o -o examplemodule.so
-I/usr/local/include/python2.1
unix % ld -shared example.o example_wrap.o -o _example.so
</pre> </tt> </blockquote>
We can now use the Python module as follows :