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:
Stefan Andritoiu
2015-08-05 19:43:31 +03:00
committed by Mihai Tudor Panu
parent 181823cb20
commit 7e2ae96c1f
105 changed files with 1132 additions and 0 deletions

13
src/mhz16/javaupm_mhz16.i Normal file
View File

@ -0,0 +1,13 @@
%module javaupm_mhz16
%include "../upm.i"
%include "cpointer.i"
/* Send "int *" to JavaScript as intp */
%pointer_functions(int, intp);
%{
#include "mhz16.h"
speed_t int_B9600 = B9600;
%}
%include "mhz16.h"
speed_t int_B9600 = B9600;