From ab3c672925cb214be9d732835e891557a511b173 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 26 Jan 2023 18:15:37 +0100 Subject: pyGHDL: update and add prints.py --- pyGHDL/libghdl/_decorator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pyGHDL/libghdl/_decorator.py') 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 ? -- cgit v1.2.3