aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/_decorator.py
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-11-20 20:01:14 +0100
committerTristan Gingold <tgingold@free.fr>2022-11-20 20:01:14 +0100
commitf722f900f4211bbddc0f432ce652e68313807ee0 (patch)
treeb91ab3b2768acb6b5323fa1b9aebfecc163662fc /pyGHDL/libghdl/_decorator.py
parenta4f4840bfee3adf2eff26ffb9e5c68182d034dd4 (diff)
downloadghdl-f722f900f4211bbddc0f432ce652e68313807ee0.tar.gz
ghdl-f722f900f4211bbddc0f432ce652e68313807ee0.tar.bz2
ghdl-f722f900f4211bbddc0f432ce652e68313807ee0.zip
pyGHDL: add file_comments.py
Diffstat (limited to 'pyGHDL/libghdl/_decorator.py')
-rw-r--r--pyGHDL/libghdl/_decorator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/libghdl/_decorator.py b/pyGHDL/libghdl/_decorator.py
index 49694e8a3..b124461e5 100644
--- a/pyGHDL/libghdl/_decorator.py
+++ b/pyGHDL/libghdl/_decorator.py
@@ -99,7 +99,7 @@ def BindToLibGHDL(subprogramName):
return c_bool
elif typ is bytes:
return c_char_p
- elif typ in (c_char, c_char_p):
+ elif typ in (c_char, c_char_p, c_uint32):
return typ
elif isinstance(typ, TypeVar):
# Humm, recurse ?