diff --git a/src/upm_vectortypes.i b/src/upm_vectortypes.i new file mode 100644 index 00000000..04338317 --- /dev/null +++ b/src/upm_vectortypes.i @@ -0,0 +1,14 @@ +/* Standardized vector types usable in SWIG for those C++ functions + * that use them. + */ + +%include "std_vector.i" +%include "stdint.i" + +namespace std { + %template(intVector) vector; + %template(int16Vector) vector; + %template(floatVector) vector; + %template(doubleVector) vector; + %template(byteVector) vector; +}