From f95c098783e73443d06dca9e57a6ee23ee9999f9 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 10 Aug 2003 17:48:56 +0000 Subject: [PATCH] Date: Sun, 10 Aug 2003 13:24:45 -0400 From: Darrell Walisser Subject: Re: Updated projects? There was one additional patch I forgot to send. I needed to add a few exports to the exports file. --- src/main/macosx/exports/SDL.x | 3 +++ src/main/macosx/exports/gendef.pl | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/src/main/macosx/exports/SDL.x b/src/main/macosx/exports/SDL.x index 747a702f2..8be445472 100644 --- a/src/main/macosx/exports/SDL.x +++ b/src/main/macosx/exports/SDL.x @@ -1,3 +1,6 @@ + .objc_class_name_SDL_QuartzWindow + .objc_class_name_SDL_QuartzWindowView + .objc_class_name_SDL_QuartzWindowDelegate _SDL_Init _SDL_InitSubSystem _SDL_QuitSubSystem diff --git a/src/main/macosx/exports/gendef.pl b/src/main/macosx/exports/gendef.pl index 27e679821..0560d361b 100644 --- a/src/main/macosx/exports/gendef.pl +++ b/src/main/macosx/exports/gendef.pl @@ -2,6 +2,11 @@ # # Program to take a set of header files and generate DLL export definitions +# Export Objective-C classes for Cocoa integration support +print "\t.objc_class_name_SDL_QuartzWindow\n"; +print "\t.objc_class_name_SDL_QuartzWindowView\n"; +print "\t.objc_class_name_SDL_QuartzWindowDelegate\n"; + while ( ($file = shift(@ARGV)) ) { if ( ! defined(open(FILE, $file)) ) { warn "Couldn't open $file: $!\n";