aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-11-16 20:24:38 +0100
committerTristan Gingold <tgingold@free.fr>2018-11-16 20:24:38 +0100
commit8dff527cb311e7c3ae73e7bc243715447f79414c (patch)
tree35c6dc60c37f32c3c0fc1240d5c00e3e9d1beaab
parent6beee7bc311f67f20297b32dba8c5f419faa5341 (diff)
downloadghdl-8dff527cb311e7c3ae73e7bc243715447f79414c.tar.gz
ghdl-8dff527cb311e7c3ae73e7bc243715447f79414c.tar.bz2
ghdl-8dff527cb311e7c3ae73e7bc243715447f79414c.zip
python: adjust and update.
-rw-r--r--src/vhdl/python/libghdl/thin.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vhdl/python/libghdl/thin.py b/src/vhdl/python/libghdl/thin.py
index b8ebc7355..b5c0c497e 100644
--- a/src/vhdl/python/libghdl/thin.py
+++ b/src/vhdl/python/libghdl/thin.py
@@ -89,11 +89,16 @@ Get_File_Buffer = libghdl.files_map__get_file_buffer
Get_File_Buffer.restype = c_void_p
Get_File_Length = libghdl.files_map__get_file_length
+Set_File_Length = libghdl.files_map__set_file_length
Read_Source_File = libghdl.files_map__read_source_file
+Reserve_Source_File = libghdl.files_map__reserve_source_file
+
No_Source_File_Entry = 0
+EOT = b'\x04'
+
No_Location = 0
# Names
@@ -196,7 +201,7 @@ Get_Libraries_Chain = libghdl.libraries__get_libraries_chain
Add_Design_Unit_Into_Library = libghdl.libraries__add_design_unit_into_library
-Finish_Compilation = libghdl.libraries__finish_compilation
+Finish_Compilation = libghdl.sem_lib__finish_compilation
# Use .value
Library_Location = c_int32.in_dll(libghdl, "libraries__library_location")