From 6a4c27841d69c556981d05ae9909962324148dc4 Mon Sep 17 00:00:00 2001 From: Zion Orent Date: Thu, 15 Jan 2015 14:11:21 -0800 Subject: [PATCH] carrays_uint16_t.i: Added comments Signed-off-by: Zion Orent Signed-off-by: Jon Trulson Signed-off-by: Sarah Knepper --- src/carrays_uint16_t.i | 5 +++++ 1 file changed, 5 insertions(+) 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);