mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
ssd1327: Modifications to js swig file
Signed-off-by: Zion Orent <zorent@ics.com> Signed-off-by: Jon Trulson <jtrulson@ics.com> Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
This commit is contained in:
parent
6c6c16256b
commit
d9130671d7
@ -1,5 +1,12 @@
|
||||
%module jsupm_i2clcd
|
||||
%include "../upm.i"
|
||||
%include "../carrays_uint8_t.i"
|
||||
|
||||
%typemap(in) uint8_t * {
|
||||
void *argp = 0 ;
|
||||
int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint8Array, 0 | 0 );
|
||||
$1 = (uint8_t *)(argp);
|
||||
}
|
||||
|
||||
%include "i2clcd.h"
|
||||
%{
|
||||
|
Loading…
x
Reference in New Issue
Block a user