From 193954f6a73cbb324c3d6225b3be758d3a5e708c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 18 Dec 2018 18:16:16 +0100 Subject: thin.py: create the Std_Package namespace. --- src/vhdl/python/libghdl/thin.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/vhdl/python') 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 -- cgit v1.2.3