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