mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
Added Java support and bindings
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
181823cb20
commit
7e2ae96c1f
13
src/h3lis331dl/javaupm_h3lis331dl.i
Normal file
13
src/h3lis331dl/javaupm_h3lis331dl.i
Normal file
@ -0,0 +1,13 @@
|
||||
%module javaupm_h3lis331dl
|
||||
%include "../upm.i"
|
||||
%include "cpointer.i"
|
||||
|
||||
/* Send "int *" and "float *" to JavaScript as intp and floatp */
|
||||
%pointer_functions(int, intp);
|
||||
%pointer_functions(float, floatp);
|
||||
|
||||
%{
|
||||
#include "h3lis331dl.h"
|
||||
%}
|
||||
|
||||
%include "h3lis331dl.h"
|
Reference in New Issue
Block a user