diff options
Diffstat (limited to 'pyGHDL/libghdl/_decorator.py')
-rw-r--r-- | pyGHDL/libghdl/_decorator.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyGHDL/libghdl/_decorator.py b/pyGHDL/libghdl/_decorator.py index 1648755c7..663c90eae 100644 --- a/pyGHDL/libghdl/_decorator.py +++ b/pyGHDL/libghdl/_decorator.py @@ -35,6 +35,7 @@ from ctypes import ( c_int32, c_uint32, c_char_p, + c_void_p, c_bool, c_double, Structure, @@ -99,7 +100,7 @@ def BindToLibGHDL(subprogramName): return c_bool elif typ is bytes: return c_char_p - elif typ in (c_char, c_char_p, c_uint32): + elif typ in (c_char, c_char_p, c_uint32, c_void_p): return typ elif isinstance(typ, TypeVar): # Humm, recurse ? |