/trunk/Examples/ruby/import_template/foo.i
# · Swig · 10 lines · 7 code · 3 blank · 0 comment · 0 complexity · 749ff4ece0ef2fe567f6013bc7fc0c13 MD5 · raw file
- %module foo
- %{
- #include "foo.h"
- %}
- %import base.i
- %include "foo.h"
- %template(IntFoo) Foo<int>;