mirror of
https://github.com/eclipse/upm.git
synced 2025-03-22 00:17:30 +03:00

Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
24 lines
326 B
OpenEdge ABL
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"
|
|
|