comparison R/rdc/src/cocoa.m_off @ 0:0cfcc391201f

initial from svn dyncall-1745
author Daniel Adler
date Thu, 19 Mar 2015 22:26:28 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:0cfcc391201f
1 #ifdef __APPLE__
2 #import <Foundation/NSAutoreleasePool.h>
3
4 NSAutoreleasePool* newPool()
5 {
6 NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
7 return(pool);
8 }
9
10 void releasePool(NSAutoreleasePool* pool)
11 {
12 [pool release];
13 }
14 #endif
15