summaryrefslogtreecommitdiff
path: root/peripheral/libupm/src/adxl345/jsupm_adxl345.i
diff options
context:
space:
mode:
Diffstat (limited to 'peripheral/libupm/src/adxl345/jsupm_adxl345.i')
-rw-r--r--peripheral/libupm/src/adxl345/jsupm_adxl345.i20
1 files changed, 0 insertions, 20 deletions
diff --git a/peripheral/libupm/src/adxl345/jsupm_adxl345.i b/peripheral/libupm/src/adxl345/jsupm_adxl345.i
deleted file mode 100644
index 6f72b79..0000000
--- a/peripheral/libupm/src/adxl345/jsupm_adxl345.i
+++ /dev/null
@@ -1,20 +0,0 @@
-%module jsupm_adxl345
-%include "../upm.i"
-%include "../carrays_int16_t.i"
-%include "../carrays_float.i"
-
-%{
- #include "adxl345.h"
-%}
-
-%typemap(out) int16_t * {
- $result = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int16Array, 0 | 0 );
-}
-
-%typemap(out) float * {
- $result = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatArray, 0 | 0 );
-}
-
-%include "adxl345.h"
-
-%include <carrays.i>