Previous: , Up: handlers registering   [Contents][Index]


5.3.2 Forgetting location handlers

All the following definitions are accessible from the header file ccexceptions.h.

Function: void cce_forget_clean_handler (cce_destination_t L, cce_clean_handler_t * H)
Function: void cce_forget_error_handler (cce_destination_t L, cce_error_handler_t * H)

Remove the handler H from the context of the location L. If H is not registered in L: nothing happens.

Preprocessor Macro: void cce_forget_handler (cce_destination_t L, cce_clean_handler_t * H)
Preprocessor Macro: void cce_forget_handler (cce_destination_t L, cce_error_handler_t * H)

Generic macro using _Generic to dispatch its expansion depending on the type of the argument H. If the type of structure referenced by H is:

cce_clean_handler_t

The macro expands into a call to cce_forget_clean_handler().

cce_error_handler_t

The macro expands into a call to cce_forget_error_handler().


Previous: , Up: handlers registering   [Contents][Index]

This document describes version 0.9.0-devel.3 of CCExceptions.