upm/src/grove/javaupm_grove.i
Stefan Andritoiu 8b9267c253 java: eliminated SWIGTYPE_p_mraa_result_t
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-09-04 13:48:19 -07:00

24 lines
326 B
OpenEdge ABL

%module javaupm_grove
%include "../upm.i"
%{
#include "grove.h"
%}
/*
%typemap(jni) mraa_result_t "jint"
%typemap(jstype) mraa_result_t "int"
%typemap(jtype) mraa_result_t "int"
%typemap(javaout) mraa_result_t {
return $jnicall;
}
%typemap(out) mraa_result_t {
$result = (int)$1;
}
*/
%include "grove.h"