X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/f3053eb0eb704dea7ff39f389f344a37e3985aab..85a2775298a85b80ccaaf31082c479b7968158b1:/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(); +}