iPhone interruption patch / SDL 1.3

Eric Wing to Sam

I've been sitting on this too long. I need to push.
It's untested because of the unrelated crashing bug I've been experiencing.
Also have a fix for SIZEOF_VOIDP in the config for both iPhone and Mac.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404102
This commit is contained in:
Sam Lantinga 2009-10-17 07:36:45 +00:00
parent f22214ce9b
commit f2ae715bf4
7 changed files with 44 additions and 4 deletions

View file

@ -24,10 +24,16 @@
#ifndef _SDL_cocoawindow_h
#define _SDL_cocoawindow_h
#import <Cocoa/Cocoa.h>
typedef struct SDL_WindowData SDL_WindowData;
/* *INDENT-OFF* */
@interface Cocoa_WindowListener:NSResponder {
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6
@interface Cocoa_WindowListener : NSResponder <NSWindowDelegate> {
#else
@interface Cocoa_WindowListener : NSResponder {
#endif
SDL_WindowData *_data;
}