Sha256: bfc864e7e97410b5009dcfb00f59ac0a74ffa03e521397b978f668968870c008

Contents?: true

Size: 789 Bytes

Versions: 79

Compression:

Stored size: 789 Bytes

Contents

/*
 ** © 2014 by Philipp Dunkel <pip@pipobscure.com>
 ** Licensed under MIT License.
 */

struct fse_event {
  UInt64 id;
  UInt32 flags;
  CFStringRef path;
};
typedef struct fse_event fse_event;

const void * FSEventRetain(CFAllocatorRef allocator, const void * ptr) {
  fse_event * orig = (fse_event * ) ptr;
  fse_event * copy = (fse_event * ) CFAllocatorAllocate(allocator, sizeof(fse_event), 0);
  copy->id = orig->id;
  copy->flags = orig->flags;
  copy->path = orig->path;
  CFRetain(copy->path);
  return copy;
}
void FSEventRelease(CFAllocatorRef allocator, const void * ptr) {
  fse_event * evt = (fse_event * ) ptr;
  CFRelease(evt->path);
  CFAllocatorDeallocate(allocator, evt);
}
const CFArrayCallBacks FSEventArrayCallBacks = {
  0, FSEventRetain, FSEventRelease, 0, 0
};

Version data entries

79 entries across 79 versions & 3 rubygems

Version Path
hooch-0.4.2 jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/storage.cc
hooch-0.4.1 jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/storage.cc
hooch-0.4.0 jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/storage.cc
hooch-0.3.0 jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/storage.cc
hooch-0.2.1 jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/storage.cc
hooch-0.2.0 jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/storage.cc
hooch-0.1.0 jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/storage.cc
hooch-0.0.8 jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/storage.cc
hooch-0.0.7 jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/storage.cc
hooch-0.0.6 jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/storage.cc
smock-0.1.268 node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/src/storage.cc
smock-0.1.267 node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/src/storage.cc
smock-0.1.266 node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/src/storage.cc
smock-0.1.265 node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/src/storage.cc
smock-0.1.264 node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/src/storage.cc
smock-0.1.263 node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/src/storage.cc
smock-0.1.262 node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/src/storage.cc
smock-0.1.261 node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/src/storage.cc
smock-0.1.260 node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/src/storage.cc
smock-0.1.259 node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/src/storage.cc