add template + opaque type test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a55e29d2f3
commit
dad66b6ee6
2 changed files with 36 additions and 0 deletions
7
SWIG/Examples/test-suite/python/template_opaque_runme.py
Normal file
7
SWIG/Examples/test-suite/python/template_opaque_runme.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import template_opaque
|
||||
|
||||
v = template_opaque.OpaqueVectorType(10)
|
||||
|
||||
template_opaque.FillVector(v)
|
||||
|
||||
print v[0]
|
||||
Loading…
Add table
Add a link
Reference in a new issue