/trunk/Examples/python/import_template/foo.i

# · Swig · 10 lines · 7 code · 3 blank · 0 comment · 0 complexity · 4eca052af29744d04d15c88961304733 MD5 · raw file

  1. %module foo
  2. %{
  3. #include "foo.h"
  4. %}
  5. %import base.i
  6. %include "foo.h"
  7. %template(intFoo) Foo<int>;