Sha256: eae67e5dff39c718645a5f49ed2357ba9d9014519bad02359d61327e11b2c4e3
Contents?: true
Size: 418 Bytes
Versions: 3
Compression:
Stored size: 418 Bytes
Contents
// -*- objc -*- #include "rays/rays.h" #import <Cocoa/Cocoa.h> namespace Rays { namespace global { static NSAutoreleasePool* pool = nil; }// global bool init () { if (global::pool) return false; global::pool = [[NSAutoreleasePool alloc] init]; return true; } bool fin () { if (!global::pool) return false; [global::pool release]; global::pool = nil; return true; } }// Rays
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rays-0.1.6 | src/cocoa/rays.mm |
rays-0.1.5 | src/cocoa/rays.mm |
rays-0.1.4 | src/cocoa/rays.mm |