view src/video/uikit/jumphack.c @ 3406:8ae607392409

There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct value after the first scanline. Ugh.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 18 Oct 2009 23:21:15 +0000
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;
}