/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

  1. %module spam
  2. %{
  3. #include "spam.h"
  4. %}
  5. %import bar.i
  6. %include "spam.h"
  7. %template(intSpam) Spam<int>;