diff --git a/src/carrays_float.i b/src/carrays_float.i new file mode 100644 index 00000000..77e19aec --- /dev/null +++ b/src/carrays_float.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(float, floatArray);