static err_t FOG_CDECL EventLoop_quit(EventLoop* self)
{
  EventLoopImpl* d = self->_d;
  
  if (d == NULL)
    return ERR_RT_INVALID_STATE;

  return d->quit();
}