aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/python/libghdl/thin/errorout.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/python/libghdl/thin/errorout.py')
-rw-r--r--src/vhdl/python/libghdl/thin/errorout.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/python/libghdl/thin/errorout.py b/src/vhdl/python/libghdl/thin/errorout.py
index 0af8a0a1f..f059d99cc 100644
--- a/src/vhdl/python/libghdl/thin/errorout.py
+++ b/src/vhdl/python/libghdl/thin/errorout.py
@@ -1,4 +1,5 @@
-from ctypes import c_int8, c_int32
+from ctypes import c_int8, c_int32, Structure
+
class Error_Record(Structure):
_fields_ = [("origin", c_int8),
("id", c_int8),