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

Commit

Permalink
These files contain some environment storage necessary for an ugly ha…
Browse files Browse the repository at this point in the history
…ck I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
  • Loading branch information
Holmes Futrell committed Jul 17, 2008
1 parent b200a2e commit 78551de
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/video/uikit/jump.c
@@ -0,0 +1,13 @@
/*
* jump.c
* iPodSDL
*
* Created by Holmes Futrell on 7/2/08.
* Copyright 2008 __MyCompanyName__. All rights reserved.
*
*/

#include "jump.h"

jmp_buf env;
jmp_buf *jump_env() { return &env; }
13 changes: 13 additions & 0 deletions src/video/uikit/jump.h
@@ -0,0 +1,13 @@
/*
* jump.h
* iPodSDL
*
* Created by Holmes Futrell on 7/2/08.
* Copyright 2008 __MyCompanyName__. All rights reserved.
*
*/

#include "setjmp.h"

extern jmp_buf* jump_env();
extern int canJump;

0 comments on commit 78551de

Please sign in to comment.