19 lines
390 B
OpenEdge ABL
19 lines
390 B
OpenEdge ABL
/* File : example.i */
|
|
%module example
|
|
|
|
%warnfilter(SWIGWARN_SCILAB_TRUNCATED_NAME) std::vector::get_allocator;
|
|
|
|
%{
|
|
#include "example.h"
|
|
%}
|
|
|
|
%include stl.i
|
|
/* instantiate the required template specializations */
|
|
namespace std {
|
|
%template(IntVector) vector<int>;
|
|
%template(DoubleVector) vector<double>;
|
|
}
|
|
|
|
/* Let's just grab the original header file here */
|
|
%include "example.h"
|
|
|