# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |