pike.git / src / modules / FSEvents / fsevents.cmod

version» Context lines:

pike.git/src/modules/FSEvents/fsevents.cmod:21:    add_integer_constant(#name, name, 0); \   } while(0);      #ifdef HAVE_FRAMEWORK_CORESERVICES   #import <CoreServices/CoreServices.h>   #endif /* HAVE_FRAMEWORK_CORESERVICES */      DECLARATIONS   #ifdef HAVE_FRAMEWORK_CORESERVICES    - void low_stop(); + void low_stop(void);   struct pike_string * string_from_cfstring(CFStringRef cfString);      struct event_callback_ctx   {    ConstFSEventStreamRef streamRef;    void *clientCallBackInfo;    size_t numEvents;    void *eventPaths;    const FSEventStreamEventFlags * eventFlags;    const FSEventStreamEventId * eventIds;
pike.git/src/modules/FSEvents/fsevents.cmod:288:   }      /*! @decl void stop()    *! Stops watching for new events.    */   PIKEFUN void stop()   {    low_stop();   }    - void low_stop() + void low_stop(void)   {    if(THIS->isRunning)    {    FSEventStreamStop(THIS->stream);    FSEventStreamUnscheduleFromRunLoop(THIS->stream, THIS->runLoop, kCFRunLoopDefaultMode);    FSEventStreamInvalidate(THIS->stream);    FSEventStreamRelease(THIS->stream);    CFRelease(THIS->runLoop);    THIS->isRunning = 0;    }