mirror of
https://github.com/eclipse/upm.git
synced 2025-03-16 05:27:28 +03:00

Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
15 lines
285 B
OpenEdge ABL
15 lines
285 B
OpenEdge ABL
%module pyupm_mic
|
|
%include "../upm.i"
|
|
%include "../carrays_uint16_t.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);
|
|
}
|
|
|
|
%{
|
|
#include "mic.h"
|
|
%}
|
|
%include "mic.h"
|