diff options
| author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-06-17 23:12:36 +0200 |
|---|---|---|
| committer | Unai Martinez-Corral <38422348+umarcor@users.noreply.github.com> | 2021-06-17 22:53:27 +0100 |
| commit | 0c726ac36be1ad1cba24eb7eff476b9a32e643fb (patch) | |
| tree | 524d81d4df412cca136b766305506574b34bf15e /pyGHDL/libghdl/name_table.py | |
| parent | e5891f3900f5e58df37d32c2c18a0f339c094cf4 (diff) | |
| download | ghdl-0c726ac36be1ad1cba24eb7eff476b9a32e643fb.tar.gz ghdl-0c726ac36be1ad1cba24eb7eff476b9a32e643fb.tar.bz2 ghdl-0c726ac36be1ad1cba24eb7eff476b9a32e643fb.zip | |
Black found more files - strange.
Executed black to make code unreadable.
(cherry picked from commit 1b34c2368428b1ec295073ee47d201ac1def35f6)
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: """""" |
