view src/video/uikit/jumphack.c @ 2840:53ca0d758b0a

The previous checkin fixes the crash, so at least we're not overrunning the texture pixel data anymore...
author Sam Lantinga <slouken@libsdl.org>
date Sat, 06 Dec 2008 17:43:10 +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;
}