From 3a49c7ff29374c6f085e2d9dc46b200afbfc9a2c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 6 Nov 2019 19:25:48 +0100 Subject: files_map-editor: turn Replace_Text to a function. --- python/libghdl/thin/files_map_editor.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python') 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 -- cgit v1.2.3