From 496cd1c632b785b25c43c503a336096f6e55bb4e Mon Sep 17 00:00:00 2001 From: Zion Orent Date: Thu, 15 Jan 2015 14:22:36 -0800 Subject: [PATCH] carrays_int16_t.i: Add new file for int16_t type Signed-off-by: Zion Orent Signed-off-by: Jon Trulson Signed-off-by: Sarah Knepper --- src/carrays_int16_t.i | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/carrays_int16_t.i 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);