mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
java: solved SWIGTYPE_p_int and SWIGTYPE_p_float
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
8eed56fda0
commit
78a159594b
@ -1,9 +1,10 @@
|
||||
%module javaupm_adxl335
|
||||
%include "../upm.i"
|
||||
%include "cpointer.i"
|
||||
%include "typemaps.i"
|
||||
|
||||
%pointer_functions(int, intPointer);
|
||||
%pointer_functions(float, floatPointer);
|
||||
%apply int *OUTPUT { int *xVal, int *yVal, int *zVal };
|
||||
%apply float *OUTPUT { float *xAccel, float *yAccel, float *zAccel };
|
||||
|
||||
%{
|
||||
#include "adxl335.h"
|
||||
|
Reference in New Issue
Block a user