diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-11-06 19:25:48 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-11-06 19:25:48 +0100 |
commit | 3a49c7ff29374c6f085e2d9dc46b200afbfc9a2c (patch) | |
tree | ce3a3827b3a75f9a4114323c7f9dfc9e8d004204 /python | |
parent | e1696a45ccf414f0c22d64176a71f8f64472a1d6 (diff) | |
download | ghdl-3a49c7ff29374c6f085e2d9dc46b200afbfc9a2c.tar.gz ghdl-3a49c7ff29374c6f085e2d9dc46b200afbfc9a2c.tar.bz2 ghdl-3a49c7ff29374c6f085e2d9dc46b200afbfc9a2c.zip |
files_map-editor: turn Replace_Text to a function.
Diffstat (limited to 'python')
-rw-r--r-- | python/libghdl/thin/files_map_editor.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/libghdl/thin/files_map_editor.py b/python/libghdl/thin/files_map_editor.py index e19317d0e..7fc1b64c3 100644 --- a/python/libghdl/thin/files_map_editor.py +++ b/python/libghdl/thin/files_map_editor.py @@ -1,6 +1,10 @@ +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 |