finishing the first stage of the typemap unification scheme, fixing issues with gcc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
733322c539
commit
ba3efb0917
44 changed files with 565 additions and 426 deletions
9
Examples/test-suite/python/li_carrays_runme.py
Normal file
9
Examples/test-suite/python/li_carrays_runme.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from li_carrays import *
|
||||
|
||||
d = doubleArray(10)
|
||||
|
||||
d[0] = 7
|
||||
d[5] = d[0] + 3
|
||||
|
||||
if d[5] + d[0] != 17:
|
||||
raise RuntimeError
|
||||
|
|
@ -5,3 +5,9 @@ f = voidtest.Foo()
|
|||
f.memberfunc()
|
||||
|
||||
voidtest.Foo_staticmemberfunc()
|
||||
|
||||
def fvoid():
|
||||
pass
|
||||
|
||||
if f.memberfunc() != fvoid():
|
||||
raise RuntimeError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue