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,10 +1,11 @@
|
||||
%module javaupm_h3lis331dl
|
||||
%include "../upm.i"
|
||||
%include "cpointer.i"
|
||||
%include "typemaps.i"
|
||||
|
||||
%apply int *OUTPUT { int *x, int *y, int*z };
|
||||
%apply float *OUTPUT { float *aX, float *aY, float *aZ };
|
||||
|
||||
/* Send "int *" and "float *" to JavaScript as intp and floatp */
|
||||
%pointer_functions(int, intp);
|
||||
%pointer_functions(float, floatp);
|
||||
|
||||
%{
|
||||
#include "h3lis331dl.h"
|
||||
|
Reference in New Issue
Block a user