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:
Mihai Tudor Panu 2015-09-17 17:28:06 -07:00
parent 3c36aa1624
commit bfe548ac45

View File

@ -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)
%{ %{