aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/python/libghdl/thin/errorout.py
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-20 18:16:03 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-20 18:16:03 +0200
commitb861073629c6c86c9095df98e35d78281ef9fa84 (patch)
tree4cc6163179960aa59bbdc3419ae041a46c31067d /src/vhdl/python/libghdl/thin/errorout.py
parent150116d2a2fe91f5d27b7fca1a19228ee5209c5a (diff)
downloadghdl-b861073629c6c86c9095df98e35d78281ef9fa84.tar.gz
ghdl-b861073629c6c86c9095df98e35d78281ef9fa84.tar.bz2
ghdl-b861073629c6c86c9095df98e35d78281ef9fa84.zip
libghdl: fix various issues.
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),