add python runme
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
19f7861039
commit
66c14bc75a
2 changed files with 17 additions and 10 deletions
7
SWIG/Examples/test-suite/python/wrapmacro_runme.py
Normal file
7
SWIG/Examples/test-suite/python/wrapmacro_runme.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import wrapmacro
|
||||
|
||||
a = 2
|
||||
b = -1
|
||||
wrapmacro.max(a,b)
|
||||
wrapmacro.max(a/7.0, -b*256)
|
||||
wrapmacro.GUINT16_SWAP_LE_BE_CONSTANT(1)
|
||||
Loading…
Add table
Add a link
Reference in a new issue