ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/SDL/SDLMain.m
(Generate patch)

Comparing BasiliskII/src/SDL/SDLMain.m (file contents):
Revision 1.1 by asvitkine, 2009-03-03T08:04:42Z vs.
Revision 1.2 by asvitkine, 2011-12-28T22:15:11Z

# Line 346 | Line 346 | static void CustomApplicationMain (int a
346  
347   @end
348  
349 <
349 > // This is used from video_sdl.cpp.
350 > void NSAutoReleasePool_wrap(void (*fn)(void))
351 > {
352 >        NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
353 >        fn();
354 >        [pool release];
355 > }
356  
357   #ifdef main
358   #  undef main

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines