Dokumentaro de Gambaso
Compilation & Installation
Components
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

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