java: added callback functionality
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com> 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
3e59323abb
commit
323905a215
@@ -4,10 +4,15 @@
|
||||
%include "typemaps.i"
|
||||
%include "arrays_java.i";
|
||||
|
||||
%feature("director") IsrCallback;
|
||||
|
||||
%ignore generic_callback_isr;
|
||||
%include "../IsrCallback.h"
|
||||
|
||||
%apply int {mraa::Edge};
|
||||
%apply float *INOUT { float *x, float *y, float *z };
|
||||
%apply unsigned char[] {uint8_t *buf};
|
||||
|
||||
%include "lsm9ds0.h"
|
||||
%{
|
||||
#include "lsm9ds0.h"
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user