java: removed unnecessary generated wrapper objects for std::vector
MODIFY
src/bma250e/javaupm_bma250e.i
src/bma250e/javaupm_bma250e.i
%module javaupm_bma250e
%include "../upm.i"
%include "typemaps.i"
-%include "../upm_vectortypes.i"
+%include "std_vector.i"
%ignore getAccelerometer(float *, float *, float *);
+%template(floatVector) std::vector<float>;
+
%include "bma250e_defs.h"
%include "bma250e.hpp"
%{

MODIFY
src/bmg160/javaupm_bmg160.i
src/bmg160/javaupm_bmg160.i
%module javaupm_bmg160
%include "../upm.i"
%include "typemaps.i"
-%include "../upm_vectortypes.i"
+%include "std_vector.i"
%ignore getGyroscope(float *, float *, float *);
+%template(floatVector) std::vector<float>;
+
%include "bmg160_defs.h"
%include "bmg160.hpp"
%{

MODIFY
src/bmm150/javaupm_bmm150.i
src/bmm150/javaupm_bmm150.i
%module javaupm_bmm150
%include "../upm.i"
%include "typemaps.i"
-%include "../upm_vectortypes.i"
+%include "std_vector.i"
%ignore getMagnetometer(float *, float *, float *);
+%template(floatVector) std::vector<float>;
+
%include "bmm150_defs.h"
%include "bmm150.hpp"
%{

MODIFY
src/bmx055/javaupm_bmx055.i
src/bmx055/javaupm_bmx055.i
%include "../upm.i"
%include "cpointer.i"
%include "typemaps.i"
-%include "../upm_vectortypes.i"
+%include "std_vector.i"
%apply int {mraa::Edge};
%ignore getMagnetometer(float *, float *, float *);
%ignore getGyroscope(float *, float *, float *);
+%template(floatVector) std::vector<float>;
+
%include "bmg160_defs.h"
%include "bma250e_defs.h"
%include "bmm150_defs.h"

MODIFY
src/bno055/javaupm_bno055.i
src/bno055/javaupm_bno055.i
%include "../upm.i"
%include "cpointer.i"
%include "typemaps.i"
-%include "../upm_vectortypes.i"
+%include "std_vector.i"
+%include "stdint.i"
%ignore getCalibrationStatus(int *, int *, int *, int *);
%ignore getAccelerometer(float *, float *, float *);
%ignore getLinearAcceleration(float *, float *, float *);
%ignore getGravityVectors(float *, float *, float *);
+%template(floatVector) std::vector<float>;
+%template(byteVector) std::vector<uint8_t>;
+%template(intVector) std::vector<int>;
+
%include "bno055_regs.h"
%include "bno055.hpp"
%{

MODIFY
src/jhd1313m1/javaupm_jhd1313m1.i
src/jhd1313m1/javaupm_jhd1313m1.i
%module javaupm_jhd1313m1
%include "../upm.i"
-%include "../upm_vectortypes.i"
%include "typemaps.i"
+%include "std_vector.i"
+%include "stdint.i"
+
+%template(byteVector) std::vector<uint8_t>;
%include "jhd1313m1.hpp"
%{

MODIFY
src/lcdks/javaupm_lcdks.i
src/lcdks/javaupm_lcdks.i
%module javaupm_lcdks
%include "../upm.i"
-%include "../upm_vectortypes.i"
%include "typemaps.i"
+%include "std_vector.i"
+%include "stdint.i"
+
+%template(byteVector) std::vector<uint8_t>;
%include "lcdks.hpp"
%{

MODIFY
src/lcm1602/javaupm_lcm1602.i
src/lcm1602/javaupm_lcm1602.i
%module javaupm_lcm1602
%include "../upm.i"
-%include "../upm_vectortypes.i"
%include "typemaps.i"
+%include "std_vector.i"
+%include "stdint.i"
+
+%template(byteVector) std::vector<uint8_t>;
%include "lcm1602.hpp"
%{

MODIFY
src/lsm303agr/javaupm_lsm303agr.i
src/lsm303agr/javaupm_lsm303agr.i
%module javaupm_lsm303agr
%include "../upm.i"
%include "typemaps.i"
-%include "../upm_vectortypes.i"
+%include "std_vector.i"
%ignore getMagnetometer(float *, float *, float *);
%ignore getAccelerometer(float *, float *, float *);
+%template(floatVector) std::vector<float>;
+
%include "lsm303agr_defs.h"
%include "lsm303agr.hpp"
%{

MODIFY
src/lsm303d/javaupm_lsm303d.i
src/lsm303d/javaupm_lsm303d.i
%module javaupm_lsm303d
%include "../upm.i"
%include "typemaps.i"
-%include "../upm_vectortypes.i"
+%include "std_vector.i"
%ignore getMagnetometer(float *, float *, float *);
%ignore getAccelerometer(float *, float *, float *);
+%template(floatVector) std::vector<float>;
+
%include "lsm303d_defs.h"
%include "lsm303d.hpp"
%{

java: removed unnecessary generated wrapper objects for std::vector

Signed-off-by: Bogdan Ichim <bogdan.ichim@rinftech.com>
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>