mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
upm.i: mraa type mapping needs to be done for all languages
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
3c36aa1624
commit
bfe548ac45
15
src/upm.i
15
src/upm.i
@ -2,16 +2,11 @@
|
||||
%include "stdint.i"
|
||||
%include "upm_exception.i"
|
||||
|
||||
|
||||
#if (SWIGJAVA)
|
||||
/* %include "arrays_java.i"; */
|
||||
/* %apply unsigned char[] {uint8_t *mama}; */
|
||||
%apply int { speed_t };
|
||||
%apply int { mraa_result_t };
|
||||
%apply int { mraa::Result };
|
||||
#else
|
||||
%typemap(out) mraa_result_t = int;
|
||||
#endif
|
||||
/* %include "arrays_java.i"; */
|
||||
/* %apply unsigned char[] {uint8_t *mama}; */
|
||||
%apply int { speed_t };
|
||||
%apply int { mraa_result_t };
|
||||
%apply int { mraa::Result };
|
||||
|
||||
#if (SWIG_JAVASCRIPT_V8)
|
||||
%{
|
||||
|
Loading…
x
Reference in New Issue
Block a user