Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Cleaned up, updated header include path
Browse files Browse the repository at this point in the history
  • Loading branch information
Holmes Futrell committed Aug 16, 2008
1 parent 89a9986 commit 033b6e1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/video/uikit/jumphack.c
Expand Up @@ -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; }
8 changes: 7 additions & 1 deletion src/video/uikit/jumphack.h
Expand Up @@ -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;

#endif

0 comments on commit 033b6e1

Please sign in to comment.