mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 09:51:14 +03:00
java: solved SWIGTYPE_* issues
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
59c6b28cdd
commit
3e59323abb
@ -1,14 +1,15 @@
|
||||
%module javaupm_zfm20
|
||||
%include "../upm.i"
|
||||
%include "cpointer.i"
|
||||
%include "stdint.i"
|
||||
%include "typemaps.i"
|
||||
%include "arrays_java.i";
|
||||
|
||||
%apply unsigned char[] { unsigned char *pkt };
|
||||
%apply signed char[] { char *buffer };
|
||||
|
||||
%apply uint16_t *OUTPUT { uint16_t *id, uint16_t *score };
|
||||
%apply unsigned char *OUTPUT { unsigned char *pkt};
|
||||
|
||||
/* Send "int *" to Java as intp */
|
||||
%pointer_functions(int, intp);
|
||||
|
||||
%{
|
||||
#include "zfm20.h"
|
||||
speed_t int_B57600 = B57600;
|
||||
|
Reference in New Issue
Block a user