/trunk/Examples/python/import_template/foo.i
Swig | 10 lines | 7 code | 3 blank | 0 comment | 0 complexity | 4eca052af29744d04d15c88961304733 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- %module foo
- %{
- #include "foo.h"
- %}
- %import base.i
- %include "foo.h"
- %template(intFoo) Foo<int>;