Mercurial > pub > dyncall > bindings
view R/rdc/src/cocoa.m_off @ 2:a27ef6fdc275
- assume dyncall dir is next to maintainers'
author | cslag |
---|---|
date | Thu, 31 Dec 2015 20:20:18 +0100 |
parents | 0cfcc391201f |
children |
line wrap: on
line source
#ifdef __APPLE__ #import <Foundation/NSAutoreleasePool.h> NSAutoreleasePool* newPool() { NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; return(pool); } void releasePool(NSAutoreleasePool* pool) { [pool release]; } #endif