diff options
Diffstat (limited to 'pyGHDL/libghdl/name_table.py')
-rw-r--r-- | pyGHDL/libghdl/name_table.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pyGHDL/libghdl/name_table.py b/pyGHDL/libghdl/name_table.py index ddb5ba491..408168797 100644 --- a/pyGHDL/libghdl/name_table.py +++ b/pyGHDL/libghdl/name_table.py @@ -39,9 +39,7 @@ from pydecor import export from pyGHDL.libghdl._types import NameId from pyGHDL.libghdl._decorator import BindToLibGHDL -__all__ = [ - "Null_Identifier" -] +__all__ = ["Null_Identifier"] Null_Identifier = 0 @@ -57,7 +55,7 @@ def Get_Name_Length(Id: NameId) -> int: """ -#@export +# @export @BindToLibGHDL("name_table__get_name_ptr") def _Get_Name_Ptr(Id: NameId) -> c_char_p: """""" @@ -76,7 +74,7 @@ def Get_Name_Ptr(Id: NameId) -> str: return _Get_Name_Ptr(Id).decode("utf-8") -#@export +# @export @BindToLibGHDL("name_table__get_character") def _Get_Character(Id: NameId) -> c_char: """""" @@ -97,7 +95,7 @@ def Get_Character(Id: NameId) -> str: return _Get_Character(Id).decode("utf-8") -#@export +# @export @BindToLibGHDL("name_table__get_identifier_with_len") def _Get_Identifier(string: c_char_p, length: int) -> NameId: """""" |