mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
mic: swig python interface changes and python example
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
aaaee7e422
commit
995734642e
@ -2,11 +2,13 @@
|
||||
%include "../upm.i"
|
||||
%include "../carrays_uint16_t.i"
|
||||
|
||||
%include "stdint.i"
|
||||
%typemap(in) uint16_t * {
|
||||
void *argp = 0 ;
|
||||
int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint16Array, 0 | 0 );
|
||||
$1 = reinterpret_cast< uint16_t * >(argp);
|
||||
}
|
||||
|
||||
%feature("autodoc", "3");
|
||||
|
||||
%include "mic.h"
|
||||
%{
|
||||
#include "mic.h"
|
||||
%}
|
||||
%include "mic.h"
|
||||
|
Reference in New Issue
Block a user