annotate src/video/uikit/jumphack.c @ 2446:69ca51fd121d gsoc2008_iphone

Cleaned up, updated header include path
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Sat, 16 Aug 2008 00:09:54 +0000
parents 0a0205afed91
children
rev   line source
2440
0a0205afed91 Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Because they are undesirable hacks used to allow an SDL programmer to execute his/her own code upon program exit.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
1 /*
0a0205afed91 Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Because they are undesirable hacks used to allow an SDL programmer to execute his/her own code upon program exit.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
2 * jumphack.c
0a0205afed91 Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Because they are undesirable hacks used to allow an SDL programmer to execute his/her own code upon program exit.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
3 * SDLiPhoneOS
0a0205afed91 Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Because they are undesirable hacks used to allow an SDL programmer to execute his/her own code upon program exit.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
4 *
0a0205afed91 Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Because they are undesirable hacks used to allow an SDL programmer to execute his/her own code upon program exit.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
5 */
0a0205afed91 Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Because they are undesirable hacks used to allow an SDL programmer to execute his/her own code upon program exit.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
6
2446
69ca51fd121d Cleaned up, updated header include path
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2440
diff changeset
7 #include "jumphack.h"
69ca51fd121d Cleaned up, updated header include path
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2440
diff changeset
8
69ca51fd121d Cleaned up, updated header include path
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2440
diff changeset
9 /* see SDL_uikitevents.m for more info */
2440
0a0205afed91 Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Because they are undesirable hacks used to allow an SDL programmer to execute his/her own code upon program exit.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
10
2446
69ca51fd121d Cleaned up, updated header include path
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2440
diff changeset
11 /* stores the information we need to jump back */
2440
0a0205afed91 Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Because they are undesirable hacks used to allow an SDL programmer to execute his/her own code upon program exit.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
12 jmp_buf env;
2446
69ca51fd121d Cleaned up, updated header include path
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2440
diff changeset
13
69ca51fd121d Cleaned up, updated header include path
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2440
diff changeset
14 /* returns the jump environment for setting / getting purposes */
2440
0a0205afed91 Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Because they are undesirable hacks used to allow an SDL programmer to execute his/her own code upon program exit.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
15 jmp_buf *jump_env() { return &env; }