view src/video/uikit/jumphack.c @ 3654:336f3df1578d

Allow configure to override assertion settings, but by default this comes from the build optimization level.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 13 Jan 2010 08:06:32 +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;
}