matching the file name. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
17 lines
242 B
OpenEdge ABL
17 lines
242 B
OpenEdge ABL
// valuewrapper.i
|
|
%module valuewrapper
|
|
|
|
%inline %{
|
|
template <typename T> struct X {
|
|
X(int) {}
|
|
};
|
|
|
|
template <typename T> struct Y {
|
|
Y() {}
|
|
int spam(T t = T(0)) { return 0; }
|
|
};
|
|
%}
|
|
|
|
%template(Xi) X<int>;
|
|
%template(YXi) Y< X<int> >;
|
|
|