Mercurial > sdl-ios-xcode
diff src/video/uikit/jump.c @ 2356:5c27688b08cf gsoc2008_iphone
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.
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Thu, 17 Jul 2008 22:50:39 +0000 |
parents | |
children |
line wrap: on
line diff
--- /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