view R/rdc/src/cocoa.m_off @ 27:18e1f1bb1945

- 1.1 update
author Tassilo Philipp
date Sun, 12 Jan 2020 12:10:38 +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