dev • api • name • declare_event

DECLARE_EVENT

#define DECLARE_EVENT ( event ) ...

Declares a static variable that will receive an event identifier.

  • event is the name of the variable.

Once declared, use this variable with the GB_EVENT macro in the class declaration structure.