Sha256: 5b1f2bff5861a7959fa93b434fca92eae43cf94f9db38034e06992e7f4d56c70

Contents?: true

Size: 903 Bytes

Versions: 153

Compression:

Stored size: 903 Bytes

Contents

#ifndef fsevent_watch_common_h
#define fsevent_watch_common_h

#include <CoreFoundation/CoreFoundation.h>
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#endif

#include <CoreServices/CoreServices.h>
#include <unistd.h>
#include "compat.h"
#include "TSICTString.h"

#define COMPILED_AT __DATE__ " " __TIME__

#define FLAG_CHECK(flags, flag) ((flags) & (flag))

#define FPRINTF_FLAG_CHECK(flags, flag, msg, fd)  \
  do {                                            \
    if (FLAG_CHECK(flags, flag)) {                \
      fprintf(fd, "%s", msg "\n"); } }            \
  while (0)

#define FLAG_CHECK_STDERR(flags, flag, msg)       \
  FPRINTF_FLAG_CHECK(flags, flag, msg, stderr)

enum FSEventWatchOutputFormat {
  kFSEventWatchOutputFormatClassic,
  kFSEventWatchOutputFormatNIW,
  kFSEventWatchOutputFormatTNetstring,
  kFSEventWatchOutputFormatOTNetstring
};

#endif /* fsevent_watch_common_h */

Version data entries

153 entries across 61 versions & 4 rubygems

Version Path
guard-1.0.2 lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
rb-fsevent-0.9.1 ext/fsevent_watch/fsevent_watch/common.h
classicCMS-0.2.3 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classicCMS-0.2.2 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classicCMS-0.2.1 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classicCMS-0.2.0 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
classicCMS-0.1.2 vendor/bundle/gems/guard-1.0.1/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
guard-1.0.1 lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h
rb-fsevent-0.9.0 ext/fsevent_watch/fsevent_watch/common.h
rb-fsevent-0.9.0.pre5 ext/fsevent_watch/fsevent_watch/common.h
rb-fsevent-0.9.0.pre4 ext/fsevent_watch/fsevent_watch/common.h
rb-fsevent-0.9.0.pre3 ext/fsevent_watch/fsevent_watch/common.h
rb-fsevent-0.9.0.pre2 ext/fsevent_watch/fsevent_watch/common.h