changeset 2446:69ca51fd121d gsoc2008_iphone

Cleaned up, updated header include path
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Sat, 16 Aug 2008 00:09:54 +0000
parents d65e44861a15
children 7683a2e0e5e9
files src/video/uikit/jumphack.c src/video/uikit/jumphack.h
diffstat 2 files changed, 13 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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