--- a/src/video/uikit/jumphack.c Sat Aug 16 00:09:10 2008 +0000
+++ b/src/video/uikit/jumphack.c Sat Aug 16 00:09:54 2008 +0000
@@ -4,7 +4,12 @@
*
*/
-#include "jump.h"
+#include "jumphack.h"
+
+/* see SDL_uikitevents.m for more info */
+/* stores the information we need to jump back */
jmp_buf env;
+
+/* returns the jump environment for setting / getting purposes */
jmp_buf *jump_env() { return &env; }
\ No newline at end of file
--- a/src/video/uikit/jumphack.h Sat Aug 16 00:09:10 2008 +0000
+++ b/src/video/uikit/jumphack.h Sat Aug 16 00:09:54 2008 +0000
@@ -4,7 +4,13 @@
*
*/
+#ifndef _jumphack_h
+#define _jumphack_h
+
#include "setjmp.h"
+/* see SDL_uikitevents.m for more info */
+
extern jmp_buf* jump_env();
-extern int canJump;
\ No newline at end of file
+
+#endif
\ No newline at end of file