add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e5f50bd942
commit
ab790f802a
6 changed files with 136 additions and 56 deletions
10
Examples/test-suite/python/li_cpointer_runme.py
Normal file
10
Examples/test-suite/python/li_cpointer_runme.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from li_cpointer import *
|
||||
|
||||
|
||||
p = new_intp()
|
||||
intp_assign(p,3)
|
||||
|
||||
if intp_value(p) != 3:
|
||||
raise RuntimeError
|
||||
|
||||
delete_intp(p)
|
||||
Loading…
Add table
Add a link
Reference in a new issue