aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/files_map_editor.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2020-12-27 23:16:07 +0100
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2020-12-27 23:16:07 +0100
commita9c0630b8f3cda6b857b915585023afa94771832 (patch)
treefb630d5b83afc2f112996ebb5f1eac44de868132 /pyGHDL/libghdl/files_map_editor.py
parent340fc792bba2ffdb4f930bc427a39ea3a1b659b2 (diff)
parentbf74a0983c2d534e217e7312ab559ca8929ff8a2 (diff)
downloadghdl-a9c0630b8f3cda6b857b915585023afa94771832.tar.gz
ghdl-a9c0630b8f3cda6b857b915585023afa94771832.tar.bz2
ghdl-a9c0630b8f3cda6b857b915585023afa94771832.zip
Merge remote-tracking branch 'github-umarcor/py/GHDL' into paebbels/pyGHDL
Diffstat (limited to 'pyGHDL/libghdl/files_map_editor.py')
-rw-r--r--pyGHDL/libghdl/files_map_editor.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/pyGHDL/libghdl/files_map_editor.py b/pyGHDL/libghdl/files_map_editor.py
new file mode 100644
index 000000000..bf9492786
--- /dev/null
+++ b/pyGHDL/libghdl/files_map_editor.py
@@ -0,0 +1,12 @@
+from ctypes import c_int32, c_char_p, c_bool
+from libghdl import libghdl
+
+Replace_Text = libghdl.files_map__editor__replace_text_ptr
+Replace_Text.argstype = [c_int32, c_int32, c_int32, c_int32, c_char_p, c_int32]
+Replace_Text.restype = c_bool
+
+Fill_Text = libghdl.files_map__editor__fill_text_ptr
+
+Check_Buffer_Content = libghdl.files_map__editor__check_buffer_content
+
+Copy_Source_File = libghdl.files_map__editor__copy_source_file