Next: Trap Library Error Reporting Redirection, Previous: Trap Library Samples, Up: Trap Library [Index]
The trap library construct is a regular libaime library construct.
See Library Construct.
trap library objects are to be created by the x1f4_init_lxtrap
function.
See x1f4_init_lxtrap.
The function requires at least the function mapper to use (as some of the exposed interfaces are function pointers) and the temporaries allocator against which the temporary object constructs created during program execution are to be registered.
See Temporaries.
See Temporaries Allocator Construct.
The function definitions provided by the trap library objects are to
be retrieved via the x1f4_fset_lxtrap
function.
See x1f4_fset_lxtrap.
Once no longer needed, the trap library objects are to be disposed via
the x1f4_fini_lxtrap
function.
See x1f4_fini_lxtrap.