mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +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 "stdint.i"
|
||||||
%include "upm_exception.i"
|
%include "upm_exception.i"
|
||||||
|
|
||||||
|
/* %include "arrays_java.i"; */
|
||||||
#if (SWIGJAVA)
|
/* %apply unsigned char[] {uint8_t *mama}; */
|
||||||
/* %include "arrays_java.i"; */
|
%apply int { speed_t };
|
||||||
/* %apply unsigned char[] {uint8_t *mama}; */
|
%apply int { mraa_result_t };
|
||||||
%apply int { speed_t };
|
%apply int { mraa::Result };
|
||||||
%apply int { mraa_result_t };
|
|
||||||
%apply int { mraa::Result };
|
|
||||||
#else
|
|
||||||
%typemap(out) mraa_result_t = int;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if (SWIG_JAVASCRIPT_V8)
|
#if (SWIG_JAVASCRIPT_V8)
|
||||||
%{
|
%{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user