/trunk/Examples/ruby/import_template/foo.i

# · Swig · 10 lines · 7 code · 3 blank · 0 comment · 0 complexity · 749ff4ece0ef2fe567f6013bc7fc0c13 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>;