Home | History | Annotate | Download | only in wt5001
      1 %module javaupm_wt5001
      2 %include "../upm.i"
      3 %include "stdint.i"
      4 %include "typemaps.i"
      5 %include "../java_buffer.i"
      6 
      7 %apply uint8_t *OUTPUT { uint8_t *vol };
      8 %apply uint8_t *OUTPUT { uint8_t *ps };
      9 %apply uint16_t *OUTPUT { uint16_t *numf };
     10 %apply uint16_t *OUTPUT { uint16_t *curf };
     11 %apply uint16_t *OUTPUT { uint16_t *year };
     12 %apply uint8_t *OUTPUT { uint8_t *month, uint8_t *day };
     13 %apply uint8_t *OUTPUT { uint8_t *hour, uint8_t *minute, uint8_t *second };
     14 
     15 %{
     16     #include "wt5001.h"
     17     speed_t int_B9600 = B9600;
     18 %}
     19 
     20 %include "wt5001.h"
     21 speed_t int_B9600 = B9600;
     22