view src/video/uikit/jumphack.c @ 4855:6d4d6605a0d3

Set flag bits *exactly* as Andreas showed me in his screenshot. This shouldn't be different, but what do I know about C's order of operations?
author Eli Gottlieb <eligottlieb@gmail.com>
date Sun, 15 Aug 2010 23:57:50 -0400
parents f55c87ae336b
children e8045ba3f79f
line wrap: on
line source

/*
 *  jumphack.c
 *  SDLiPhoneOS
 *
 */

#include "jumphack.h"

/* see SDL_uikitevents.m for more info */

/* stores the information we need to jump back */
jmp_buf env;

/* returns the jump environment for setting / getting purposes */
jmp_buf *
jump_env()
{
    return &env;
}