/tags/rel-1-3-26/SWIG/Examples/python/import_template/spam.i
Swig | 10 lines | 7 code | 3 blank | 0 comment | 0 complexity | 752fbad6e97ee42da078ea2ea24db181 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- %module spam
- %{
- #include "spam.h"
- %}
- %import bar.i
- %include "spam.h"
- %template(intSpam) Spam<int>;