author Sam Lantinga <>
Thu, 20 Jan 2011 16:05:59 -0800
changeset 5056 8b7988f42fcb
parent 4473 e8045ba3f79f
child 5133 b915b3181cc2
permissions -rw-r--r--
Added the ability to get the UIKit window through the SDL API. You can also do this through the native API: UIWindow *window = [[UIApplication sharedApplication] keyWindow]; Also needed to name the union for events and window info.

 *  jumphack.h
 *  SDLiPhoneOS

#ifndef _jumphack_h
#define _jumphack_h

#include "setjmp.h"

/* see SDL_uikitevents.m for more info */

extern jmp_buf *jump_env(void);