aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/python/libghdl/thin/errorout_memory.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/python/libghdl/thin/errorout_memory.py')
-rw-r--r--src/vhdl/python/libghdl/thin/errorout_memory.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/vhdl/python/libghdl/thin/errorout_memory.py b/src/vhdl/python/libghdl/thin/errorout_memory.py
new file mode 100644
index 000000000..2967863f5
--- /dev/null
+++ b/src/vhdl/python/libghdl/thin/errorout_memory.py
@@ -0,0 +1,13 @@
+Install_Handler = libghdl.errorout__memory__install_handler
+
+Get_Nbr_Messages = libghdl.errorout__memory__get_nbr_messages
+
+Get_Error_Record = libghdl.errorout__memory__get_error_record
+Get_Error_Record.argstypes = [c_int32]
+Get_Error_Record.restype = Errorout.Error_Record
+
+Get_Error_Message = libghdl.errorout__memory__get_error_message_addr
+Get_Error_Message.argstype = [c_int32]
+Get_Error_Message.restype = c_char_p
+
+Clear_Errors = libghdl.errorout__memory__clear_errors