blob: aabe0d6074820ad21f101940661b18e251d1b6e5 [file] [edit]
%module example
%{
#ifdef max
#undef max
#endif
#include "example.h"
%}
/* Let's just grab the original header file here */
%include "example.h"
/* Now instantiate some specific template declarations */
%template(maxint) max<int>;
%template(maxdouble) max<double>;
%template(Vecint) vector<int>;
%template(Vecdouble) vector<double>;