# HG changeset patch # User Holmes Futrell # Date 1216335039 0 # Node ID 5c27688b08cf784a76e8d8480e11464d1a9dc705 # Parent eec14ed2bb18e88e600c4864a15a8e254d93cf62 These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this. diff -r eec14ed2bb18 -r 5c27688b08cf src/video/uikit/jump.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/video/uikit/jump.c Thu Jul 17 22:50:39 2008 +0000 @@ -0,0 +1,13 @@ +/* + * jump.c + * iPodSDL + * + * Created by Holmes Futrell on 7/2/08. + * Copyright 2008 __MyCompanyName__. All rights reserved. + * + */ + +#include "jump.h" + +jmp_buf env; +jmp_buf *jump_env() { return &env; } \ No newline at end of file diff -r eec14ed2bb18 -r 5c27688b08cf src/video/uikit/jump.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/video/uikit/jump.h Thu Jul 17 22:50:39 2008 +0000 @@ -0,0 +1,13 @@ +/* + * jump.h + * iPodSDL + * + * Created by Holmes Futrell on 7/2/08. + * Copyright 2008 __MyCompanyName__. All rights reserved. + * + */ + +#include "setjmp.h" + +extern jmp_buf* jump_env(); +extern int canJump; \ No newline at end of file