Fix ftdi_read_pins in python bindings
[libftdi] / bindings / ftdi.i
index 9af6057..ce1149c 100644 (file)
@@ -2,6 +2,10 @@
 %module ftdi
 %include "typemaps.i"
 %include "cpointer.i"
+%pointer_functions(unsigned int, uintp);
+%pointer_functions(unsigned char *, ucharp);
+%pointer_functions(char *, charp);
+
 %typemap(in) unsigned char* = char*;
 %ignore ftdi_write_data_async;
 %ignore ftdi_async_complete;