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

Commit

Permalink
Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Becau…
Browse files Browse the repository at this point in the history
…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
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 26 deletions.
13 changes: 0 additions & 13 deletions src/video/uikit/jump.c

This file was deleted.

13 changes: 0 additions & 13 deletions src/video/uikit/jump.h

This file was deleted.

10 changes: 10 additions & 0 deletions src/video/uikit/jumphack.c
@@ -0,0 +1,10 @@
/*
* jumphack.c
* SDLiPhoneOS
*
*/

#include "jump.h"

jmp_buf env;
jmp_buf *jump_env() { return &env; }
10 changes: 10 additions & 0 deletions src/video/uikit/jumphack.h
@@ -0,0 +1,10 @@
/*
* jumphack.h
* SDLiPhoneOS
*
*/

#include "setjmp.h"

extern jmp_buf* jump_env();
extern int canJump;

0 comments on commit 9a88831

Please sign in to comment.