This repository has been archived by the owner on Feb 11, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Becau…
…se they are undesirable hacks used to allow an SDL programmer to execute his/her own code upon program exit.
- Loading branch information
Holmes Futrell
committed
Aug 15, 2008
1 parent
056c9b2
commit 9a88831
Showing
4 changed files
with
20 additions
and
26 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* | ||
* jumphack.c | ||
* SDLiPhoneOS | ||
* | ||
*/ | ||
|
||
#include "jump.h" | ||
|
||
jmp_buf env; | ||
jmp_buf *jump_env() { return &env; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* | ||
* jumphack.h | ||
* SDLiPhoneOS | ||
* | ||
*/ | ||
|
||
#include "setjmp.h" | ||
|
||
extern jmp_buf* jump_env(); | ||
extern int canJump; |