diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-12-18 18:16:16 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-12-18 18:19:31 +0100 |
commit | 193954f6a73cbb324c3d6225b3be758d3a5e708c (patch) | |
tree | ca5a06fe55fe5e380c0727fa0b51b690dd18e9b1 /src/vhdl/python | |
parent | ffd93ac7df2bd7e9d89bdfe9c9df0fa7de7e241c (diff) | |
download | ghdl-193954f6a73cbb324c3d6225b3be758d3a5e708c.tar.gz ghdl-193954f6a73cbb324c3d6225b3be758d3a5e708c.tar.bz2 ghdl-193954f6a73cbb324c3d6225b3be758d3a5e708c.zip |
thin.py: create the Std_Package namespace.
Diffstat (limited to 'src/vhdl/python')
-rw-r--r-- | src/vhdl/python/libghdl/thin.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/vhdl/python/libghdl/thin.py b/src/vhdl/python/libghdl/thin.py index d55bb4723..cfcbfd70f 100644 --- a/src/vhdl/python/libghdl/thin.py +++ b/src/vhdl/python/libghdl/thin.py @@ -221,14 +221,16 @@ class Sem_Lib: Load_File = libghdl.sem_lib__load_file -# std.standard +class Std_Package: + # Use .value + Std_Location = c_int32.in_dll(libghdl, "std_package__std_location") -# Use .value -Standard_Package = c_int32.in_dll(libghdl, "std_package__standard_package") + # Use .value + Standard_Package = c_int32.in_dll(libghdl, "std_package__standard_package") -# Use .value -Character_Type_Definition = c_int32.in_dll( - libghdl, "std_package__character_type_definition") + # Use .value + Character_Type_Definition = c_int32.in_dll( + libghdl, "std_package__character_type_definition") class Libraries: Get_Libraries_Chain = libghdl.libraries__get_libraries_chain |