diff options
Diffstat (limited to 'pyGHDL/libghdl/errorout.py')
-rw-r--r-- | pyGHDL/libghdl/errorout.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pyGHDL/libghdl/errorout.py b/pyGHDL/libghdl/errorout.py index 635e8b032..58ac56a55 100644 --- a/pyGHDL/libghdl/errorout.py +++ b/pyGHDL/libghdl/errorout.py @@ -1,7 +1,10 @@ # Auto generated Python source file from Ada sources # Call 'make' in 'src/vhdl' to regenerate: # +from enum import IntEnum, unique from pydecor import export +from enum import IntEnum, unique + from pyGHDL.libghdl import libghdl @@ -11,7 +14,8 @@ def Enable_Warning(Id: int, Enable: bool) -> None: @export -class Msgid: +@unique +class Msgid(IntEnum): Msgid_Note = 0 Warnid_Library = 1 Warnid_Deprecated_Option = 2 |