carrays_float.i: Add new file for float type

Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
This commit is contained in:
Sarah Knepper 2015-01-19 15:10:59 -08:00
parent d307376abc
commit 092a455172

8
src/carrays_float.i Normal file
View File

@ -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);