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 244669ca51fd121d
parent 2445 d65e44861a15
child 2447 7683a2e0e5e9
Cleaned up, updated header include path
src/video/uikit/jumphack.c
src/video/uikit/jumphack.h
     1.1 --- a/src/video/uikit/jumphack.c	Sat Aug 16 00:09:10 2008 +0000
     1.2 +++ b/src/video/uikit/jumphack.c	Sat Aug 16 00:09:54 2008 +0000
     1.3 @@ -4,7 +4,12 @@
     1.4   *
     1.5   */
     1.6  
     1.7 -#include "jump.h"
     1.8 +#include "jumphack.h"
     1.9  
    1.10 +/* see SDL_uikitevents.m for more info */
    1.11 +
    1.12 +/* stores the information we need to jump back */
    1.13  jmp_buf env;
    1.14 +
    1.15 +/* returns the jump environment for setting / getting purposes */
    1.16  jmp_buf *jump_env() { return &env; }
    1.17 \ No newline at end of file
     2.1 --- a/src/video/uikit/jumphack.h	Sat Aug 16 00:09:10 2008 +0000
     2.2 +++ b/src/video/uikit/jumphack.h	Sat Aug 16 00:09:54 2008 +0000
     2.3 @@ -4,7 +4,13 @@
     2.4   *
     2.5   */
     2.6  
     2.7 +#ifndef _jumphack_h
     2.8 +#define _jumphack_h
     2.9 +
    2.10  #include "setjmp.h"
    2.11  
    2.12 +/* see SDL_uikitevents.m for more info */
    2.13 +
    2.14  extern jmp_buf* jump_env();
    2.15 -extern int canJump;
    2.16 \ No newline at end of file
    2.17 +
    2.18 +#endif
    2.19 \ No newline at end of file