X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/791445b7459183d839e20672e20d246dea895213..20f5b3886761a0ba963fee435bba90dd09bd5bd5:/ae.c diff --git a/ae.c b/ae.c index 048fa51c..81fd9add 100644 --- a/ae.c +++ b/ae.c @@ -373,9 +373,12 @@ int aeWait(int fd, int mask, long long milliseconds) { } } -void aeMain(aeEventLoop *eventLoop) -{ +void aeMain(aeEventLoop *eventLoop) { eventLoop->stop = 0; while (!eventLoop->stop) aeProcessEvents(eventLoop, AE_ALL_EVENTS); } + +char *aeGetApiName(void) { + return aeApiName(); +}