diff --git a/src/carrays_uint16_t.i b/src/carrays_uint16_t.i index f71a3c91..a5549ad0 100644 --- a/src/carrays_uint16_t.i +++ b/src/carrays_uint16_t.i @@ -1,3 +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(uint16_t, uint16Array);