diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-01-06 01:41:32 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2021-01-10 10:14:16 +0100 |
commit | c633188e24e35aeb540b89ab142efabef0801f13 (patch) | |
tree | 36564458f3901bb826545afea56a7b3c9c0c94d8 /pyGHDL/libghdl/errorout.py | |
parent | 4a55232c3461a370c08b6c8a05a42011655c22a0 (diff) | |
download | ghdl-c633188e24e35aeb540b89ab142efabef0801f13.tar.gz ghdl-c633188e24e35aeb540b89ab142efabef0801f13.tar.bz2 ghdl-c633188e24e35aeb540b89ab142efabef0801f13.zip |
Adding types and docstrings to libghdl.
Diffstat (limited to 'pyGHDL/libghdl/errorout.py')
-rw-r--r-- | pyGHDL/libghdl/errorout.py | 8 |
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 |