aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/name_table.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-01-02 11:10:22 +0100
committertgingold <tgingold@users.noreply.github.com>2021-01-02 22:05:15 +0100
commitdf7dcf48f31c7bf393ce3c85f37d4db3c3761adb (patch)
treeff0451502ae14c149e59d46bac833e2171c5255e /pyGHDL/libghdl/name_table.py
parentdb6cb88c1ce9de8e1fdc9bd0f983ea09dbc78ca0 (diff)
downloadghdl-df7dcf48f31c7bf393ce3c85f37d4db3c3761adb.tar.gz
ghdl-df7dcf48f31c7bf393ce3c85f37d4db3c3761adb.tar.bz2
ghdl-df7dcf48f31c7bf393ce3c85f37d4db3c3761adb.zip
Added '@export' to list public interface items in '__all__'.
(cherry picked from commit 17fa10f71a50c2441115459df8d656acdb337f6e)
Diffstat (limited to 'pyGHDL/libghdl/name_table.py')
-rw-r--r--pyGHDL/libghdl/name_table.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyGHDL/libghdl/name_table.py b/pyGHDL/libghdl/name_table.py
index e4f9d8ec0..e2190f3dd 100644
--- a/pyGHDL/libghdl/name_table.py
+++ b/pyGHDL/libghdl/name_table.py
@@ -47,6 +47,7 @@ Get_Name_Ptr.restype = c_char_p
_Get_Identifier_With_Len = libghdl.name_table__get_identifier_with_len
+@export
def Get_Identifier(s):
return _Get_Identifier_With_Len(c_char_p(s), len(s))