mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 09:51:14 +03:00
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:

committed by
Mihai Tudor Panu

parent
181823cb20
commit
7e2ae96c1f
20
src/wt5001/javaupm_wt5001.i
Normal file
20
src/wt5001/javaupm_wt5001.i
Normal file
@ -0,0 +1,20 @@
|
||||
%module jacaupm_wt5001
|
||||
%include "../upm.i"
|
||||
%include "stdint.i"
|
||||
%include "typemaps.i"
|
||||
|
||||
%apply uint8_t *OUTPUT { uint8_t *vol };
|
||||
%apply uint8_t *OUTPUT { uint8_t *ps };
|
||||
%apply uint16_t *OUTPUT { uint16_t *numf };
|
||||
%apply uint16_t *OUTPUT { uint16_t *curf };
|
||||
%apply uint16_t *OUTPUT { uint16_t *year };
|
||||
%apply uint8_t *OUTPUT { uint8_t *month, uint8_t *day };
|
||||
%apply uint8_t *OUTPUT { uint8_t *hour, uint8_t *minute, uint8_t *second };
|
||||
|
||||
%{
|
||||
#include "wt5001.h"
|
||||
speed_t int_B9600 = B9600;
|
||||
%}
|
||||
|
||||
%include "wt5001.h"
|
||||
speed_t int_B9600 = B9600;
|
Reference in New Issue
Block a user