mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 09:51:14 +03:00
wt5001: Added functions that throw exceptions when failing to read from sensors. Added java exception handling, and modified examples.
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
7f7fdb8441
commit
fcb36276b7
@ -2,11 +2,9 @@
|
||||
%include "stdint.i"
|
||||
%include "upm_exception.i"
|
||||
|
||||
/* %include "arrays_java.i"; */
|
||||
/* %apply unsigned char[] {uint8_t *mama}; */
|
||||
%apply int { speed_t };
|
||||
%apply int { mraa_result_t };
|
||||
%apply int { mraa::Result };
|
||||
%apply int { speed_t };
|
||||
%apply int { mraa_result_t };
|
||||
%apply int { mraa::Result };
|
||||
|
||||
#if (SWIG_JAVASCRIPT_V8)
|
||||
%{
|
||||
|
Reference in New Issue
Block a user