From 4342b880b9581851fa52c6abbf485e106627f2cf Mon Sep 17 00:00:00 2001 From: Mihai Tudor Panu Date: Mon, 6 Feb 2017 16:22:43 -0800 Subject: [PATCH] st7735: add typemaps to uint8_t arrays for js and python Signed-off-by: Mihai Tudor Panu --- src/st7735/jsupm_st7735.i | 1 + src/st7735/pyupm_st7735.i | 1 + 2 files changed, 2 insertions(+) diff --git a/src/st7735/jsupm_st7735.i b/src/st7735/jsupm_st7735.i index 258db943..34b30573 100644 --- a/src/st7735/jsupm_st7735.i +++ b/src/st7735/jsupm_st7735.i @@ -1,5 +1,6 @@ %module jsupm_st7735 %include "../upm.i" +%include "../carrays_uint8_t.i" %include "st7735_gfx.hpp" %{ diff --git a/src/st7735/pyupm_st7735.i b/src/st7735/pyupm_st7735.i index a41316b2..e14cbb39 100644 --- a/src/st7735/pyupm_st7735.i +++ b/src/st7735/pyupm_st7735.i @@ -2,6 +2,7 @@ %include "pyupm_doxy2swig.i" %module pyupm_st7735 %include "../upm.i" +%include "../carrays_uint8_t.i" %feature("autodoc", "3"); %rename("printString") print(std::string msg);