add template_extmode case

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-04-01 20:05:54 +00:00
commit fa5d4f79fb

View file

@ -43,11 +43,20 @@
{
val = v;
}
#ifdef SWIG
%typemap(in) Foo* "/* in typemap for Foo, with type T */"
#endif
};
%}
%template(Foo_I1) Foo<Integer1>;
%template(Foo_I2) Foo<Integer2>;
%inline %{
int bar(Foo<Integer1> *foo) {
return 0;
}
%}