git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
21 lines
362 B
OpenEdge ABL
21 lines
362 B
OpenEdge ABL
/* File : example.i */
|
|
%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>;
|
|
|