diff src/video/uikit/jumphack.c @ 2765:f55c87ae336b

Final merge of Google Summer of Code 2008 work... Bring SDL to iPhone and iPod Touch by Holmes Futrell, mentored by Sam Lantinga
author Sam Lantinga <slouken@libsdl.org>
date Sat, 04 Oct 2008 06:46:59 +0000
parents
children e8045ba3f79f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/video/uikit/jumphack.c	Sat Oct 04 06:46:59 2008 +0000
@@ -0,0 +1,19 @@
+/*
+ *  jumphack.c
+ *  SDLiPhoneOS
+ *
+ */
+
+#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;
+}