swig/SWIG/Examples/test-suite/python/template_opaque_runme.py
Marcelo Matus dad66b6ee6 add template + opaque type test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:44:33 +00:00

7 lines
108 B
Python

import template_opaque
v = template_opaque.OpaqueVectorType(10)
template_opaque.FillVector(v)
print v[0]