actionTableLookup

Look up classType in Action Table.

version(Posix)
int
actionTableLookup
(
_Unwind_Exception* exceptionObject
,,
const(ubyte)* pActionTable
,
const(ubyte)* tt
,
ubyte TType
,
_Unwind_Exception_Class exceptionClass
,
const(ubyte)* lsda
)

Parameters

exceptionObject _Unwind_Exception*

language specific exception information

actionRecordPtr uint

starting index in Action Table + 1

pActionTable const(ubyte)*

pointer to start of Action Table

tt const(ubyte)*

pointer past end of Type Table

TType ubyte

encoding of entries in Type Table

exceptionClass _Unwind_Exception_Class

which language threw the exception

lsda const(ubyte)*

pointer to LSDA table

Return Value

Type: int

- >=1 means the handler index of the classType - 0 means classType is not in the Action Table - <0 means corrupt

Meta