X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/791445b7459183d839e20672e20d246dea895213..231d758eecf6e492c8b40cddf4bc9e3a4dbf39cb:/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(); +}