Mercurial > sdl-ios-xcode
comparison src/video/uikit/jumphack.c @ 2765:f55c87ae336b
Final merge of Google Summer of Code 2008 work...
Bring SDL to iPhone and iPod Touch
by Holmes Futrell, mentored by Sam Lantinga
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 04 Oct 2008 06:46:59 +0000 |
parents | |
children | e8045ba3f79f |
comparison
equal
deleted
inserted
replaced
2764:4868c0df2e83 | 2765:f55c87ae336b |
---|---|
1 /* | |
2 * jumphack.c | |
3 * SDLiPhoneOS | |
4 * | |
5 */ | |
6 | |
7 #include "jumphack.h" | |
8 | |
9 /* see SDL_uikitevents.m for more info */ | |
10 | |
11 /* stores the information we need to jump back */ | |
12 jmp_buf env; | |
13 | |
14 /* returns the jump environment for setting / getting purposes */ | |
15 jmp_buf * | |
16 jump_env() | |
17 { | |
18 return &env; | |
19 } |