view src/video/uikit/jumphack.c @ 3626:596468a8459e

Merged r5016:5017 from branches/SDL-1.2: PS2 DMA mapping fix. I assume this video target is slated for removal in 1.3, but I merged this, just in case.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 10 Jan 2010 06:32:41 +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;
}