From 092a45517275ba113af421539eb4b97fae658ed2 Mon Sep 17 00:00:00 2001 From: Sarah Knepper Date: Mon, 19 Jan 2015 15:10:59 -0800 Subject: [PATCH] carrays_float.i: Add new file for float type Signed-off-by: Sarah Knepper --- src/carrays_float.i | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/carrays_float.i 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);