pyGHDL.libghdl.errorout_memory¶
Functions
Install_Handler(): Install the handlers for reporting errors.Get_Nbr_Messages(): Get number of error messages available.Get_Error_Record(): Get error messages by indexIdyas structureError_Message.Get_Error_Message(): Get error messages by indexIdxas string.Clear_Errors(): Remove all error messages.
Classes
Error_Message: Id : Msgid_Type
Functions
- pyGHDL.libghdl.errorout_memory.Install_Handler()[source]¶
Install the handlers for reporting errors.
- Return type:
- pyGHDL.libghdl.errorout_memory.Get_Error_Record(Idx)[source]¶
Get error messages by index
Idyas structureError_Message.- Parameters:
Idx (
TypeVar(ErrorIndex, bound=c_int)) – Index from 1 toNbr_MessagesSeeGet_Nbr_Messages().- Return type:
- Returns:
Type:
Error_Message
- pyGHDL.libghdl.errorout_memory.Get_Error_Message(Idx)[source]¶
Get error messages by index
Idxas string.- Parameters:
Idx (
TypeVar(ErrorIndex, bound=c_int)) – Index from 1 toNbr_MessagesSeeGet_Nbr_Messages().- Return type:
- Returns:
Error message.
Classes
- class pyGHDL.libghdl.errorout_memory.Error_Message[source]¶
- IdMsgid_Type
Message error/warning id
- GroupGroup_Type;
Whether this is an single message or a related one.
- FileSource_File_Entry;
Error soure file.
- LineNatural;
The first line is line 1, 0 can be used when line number is not relevant.
- OffsetNatural;
Offset in the line. The first character is at offset 0.
- LengthNatural;
Length of the location (for a range). It is assumed to be on the same line; use 0 when unknown.
Inheritance
- __hash__()¶
Return hash(self).
- __init__(*args, **kwargs)¶
- __new__(**kwargs)¶
- __reduce__()¶
Helper for pickle.
- _b_base_¶
the base object
- _b_needsfree_¶
whether the object owns the memory or not
- _objects¶
internal objects tree (NEVER CHANGE THIS OBJECT!)