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