aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/errorout.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/libghdl/errorout.py')
-rw-r--r--pyGHDL/libghdl/errorout.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/pyGHDL/libghdl/errorout.py b/pyGHDL/libghdl/errorout.py
index c49251bf4..2d7f29ef5 100644
--- a/pyGHDL/libghdl/errorout.py
+++ b/pyGHDL/libghdl/errorout.py
@@ -1,11 +1,17 @@
# Auto generated Python source file from Ada sources
# Call 'make' in 'src/vhdl' to regenerate:
#
+from pydecor import export
from pyGHDL.libghdl import libghdl
+from pyGHDL.libghdl._types import MessageIdWarnings
-Enable_Warning = libghdl.errorout__enable_warning
+@export
+def Enable_Warning(Id: MessageIdWarnings, Enable: bool) -> None:
+ libghdl.errorout__enable_warning(Id, Enable)
+
+@export
class Msgid:
Msgid_Note = 0
Warnid_Library = 1