aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/python')
-rw-r--r--src/vhdl/python/libghdl.adb2
-rw-r--r--src/vhdl/python/libghdl/thin.py4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/vhdl/python/libghdl.adb b/src/vhdl/python/libghdl.adb
index 0267ccec7..cf87cb158 100644
--- a/src/vhdl/python/libghdl.adb
+++ b/src/vhdl/python/libghdl.adb
@@ -20,7 +20,9 @@ with GNAT.OS_Lib; use GNAT.OS_Lib;
with Ghdllocal;
with Ghdlcomp;
with Errorout.Memory;
+with Files_Map.Editor;
pragma Unreferenced (Errorout.Memory); -- At least from Ada code.
+pragma Unreferenced (Files_Map.Editor);
package body Libghdl is
function Set_Option (Opt : Thin_String_Ptr; Len : Natural) return Integer is
diff --git a/src/vhdl/python/libghdl/thin.py b/src/vhdl/python/libghdl/thin.py
index 25e03809c..758ab26ab 100644
--- a/src/vhdl/python/libghdl/thin.py
+++ b/src/vhdl/python/libghdl/thin.py
@@ -108,6 +108,10 @@ EOT = b'\x04'
No_Location = 0
+class Files_Map_Editor:
+ Set_Gap = libghdl.files_map__editor__set_gap
+ Replace_Text = libghdl.files_map__editor__replace_text_ptr
+
# Names
Get_Name_Length = libghdl.name_table__get_name_length