--- a/targets/typemapping.py Wed Aug 16 12:03:46 2017 +0300
+++ b/targets/typemapping.py Wed Aug 16 12:21:05 2017 +0300
@@ -102,8 +102,8 @@
TypeTranslator.get(iectype,
(None, None, None))
if c_type is not None and buffoffset < buffsize:
- cursor = c_void_p( buffptr + buffoffset)
- value = unpack_func( cast(cursor,
+ cursor = c_void_p(buffptr + buffoffset)
+ value = unpack_func(cast(cursor,
POINTER(c_type)).contents)
buffoffset += sizeof(c_type) if iectype != "STRING" else len(value)+1
res.append(value)