aboutsummaryrefslogtreecommitdiffstats
path: root/python/libghdl/thin/name_table.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/libghdl/thin/name_table.py')
-rw-r--r--python/libghdl/thin/name_table.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/libghdl/thin/name_table.py b/python/libghdl/thin/name_table.py
index cda0b3e1c..c41973ec1 100644
--- a/python/libghdl/thin/name_table.py
+++ b/python/libghdl/thin/name_table.py
@@ -8,7 +8,9 @@ Get_Name_Ptr.restype = c_char_p
_Get_Identifier_With_Len = libghdl.name_table__get_identifier_with_len
+
def Get_Identifier(s):
return _Get_Identifier_With_Len(c_char_p(s), len(s))
+
Null_Identifier = 0