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.2 by asvitkine, 2011-12-28T22:15:11Z vs.
Revision 1.3 by asvitkine, 2011-12-29T07:38:34Z

# Line 346 | Line 346 | static void CustomApplicationMain (int a
346  
347   @end
348  
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 }
349  
350   #ifdef main
351   #  undef main

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines