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.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pyGHDL/libghdl/errorout.py b/pyGHDL/libghdl/errorout.py
index 2d7f29ef5..a038fa77c 100644
--- a/pyGHDL/libghdl/errorout.py
+++ b/pyGHDL/libghdl/errorout.py
@@ -3,11 +3,9 @@
#
from pydecor import export
from pyGHDL.libghdl import libghdl
-from pyGHDL.libghdl._types import MessageIdWarnings
-
@export
-def Enable_Warning(Id: MessageIdWarnings, Enable: bool) -> None:
+def Enable_Warning(Id: int, Enable: bool) -> None:
libghdl.errorout__enable_warning(Id, Enable)