From a16d279b6f5f60672eb68a8b9d348db8e9f44a84 Mon Sep 17 00:00:00 2001 From: Noel Eck Date: Mon, 2 Jul 2018 15:14:47 -0700 Subject: [PATCH] bma220: Added std_vector to SWIG interface file Updated the bma220 SWIG interface file to use std_vector.i for JS and Python. Signed-off-by: Noel Eck --- src/bma220/bma220.i | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bma220/bma220.i b/src/bma220/bma220.i index 189842e0..d36c6116 100644 --- a/src/bma220/bma220.i +++ b/src/bma220/bma220.i @@ -35,12 +35,14 @@ JAVA_JNI_LOADLIBRARY(javaupm_bma220) /* BEGIN Javascript syntax ------------------------------------------------- */ #ifdef SWIGJAVASCRIPT +%include "../upm_vectortypes.i" %pointer_functions(float, floatp); #endif /* END Javascript syntax */ /* BEGIN Python syntax ----------------------------------------------------- */ #ifdef SWIGPYTHON +%include "../upm_vectortypes.i" %pointer_functions(float, floatp); #endif /* END Python syntax */