GB_HOOK_CHECK
#define GB_HOOK_CHECK ( hook ) ...
Declare which function will be called to check the validity of an instance of the declared class.
The check function has the following prototype:
int (*check_validity)(void *object);
It takes an object reference as argument, and must return
TRUE if the object is invalid, and
FALSE if the object is valid.
See also