EventCallback

libbtng API Reference: EventCallback

The main purpose of EventCallback is to serve as an interface to btEventLoop(). it is called every time an event is generated, and should return TRUE to terminate the event loop.

Syntax

BOOL efn(SDL_Event *e, void *p)
{
  // do something
}

EventCallback f1=efn;

Remarks

See also: Callback.