diff --git a/src/carrays_int16_t.i b/src/carrays_int16_t.i new file mode 100644 index 00000000..4b7bd0b0 --- /dev/null +++ b/src/carrays_int16_t.i @@ -0,0 +1,8 @@ +// From the SWIG documentation: +// Unlike #include, %include includes each file once +// (and will not reload the file on subsequent %include declarations). +// Therefore, it is not necessary to use include-guards in SWIG interfaces. +// So you can include this file and .i files for other C types +%include "stdint.i" +%include "carrays.i" +%array_class(int16_t, int16Array);