aboutsummaryrefslogtreecommitdiffstats
path: root/python/libghdl/thin/name_table.py
diff options
context:
space:
mode:
authoreine <eine@users.noreply.github.com>2020-08-15 18:07:05 +0200
committertgingold <tgingold@users.noreply.github.com>2020-08-23 21:21:15 +0200
commit4abeb0683159cdc4482a7f491340bfedf3fe2339 (patch)
tree9670c82ea88c9d6338ee2be58ea291154ffcaf8b /python/libghdl/thin/name_table.py
parent8789de969e6673b195cbb28a692cc3fbbaa806e1 (diff)
downloadghdl-4abeb0683159cdc4482a7f491340bfedf3fe2339.tar.gz
ghdl-4abeb0683159cdc4482a7f491340bfedf3fe2339.tar.bz2
ghdl-4abeb0683159cdc4482a7f491340bfedf3fe2339.zip
python: execute 'black'
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