Cleaned up, updated header include path gsoc2008_iphone
authorHolmes Futrell <hfutrell@umail.ucsb.edu>
Sat, 16 Aug 2008 00:09:54 +0000
branchgsoc2008_iphone
changeset 2446 69ca51fd121d
parent 2445 d65e44861a15
child 2447 7683a2e0e5e9
Cleaned up, updated header include path
src/video/uikit/jumphack.c
src/video/uikit/jumphack.h
--- 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