src/video/uikit/jumphack.c
author Sam Lantinga <slouken@libsdl.org>
Mon, 31 Oct 2011 05:56:58 -0400
changeset 6044 35448a5ea044
parent 4473 e8045ba3f79f
permissions -rw-r--r--
Lots of fixes importing SDL source wholesale into a new iOS project
slouken@2765
     1
/*
slouken@2765
     2
 *  jumphack.c
slouken@2765
     3
 *  SDLiPhoneOS
slouken@2765
     4
 *
slouken@2765
     5
 */
slouken@2765
     6
slouken@2765
     7
#include "jumphack.h"
slouken@2765
     8
slouken@2765
     9
/* see SDL_uikitevents.m for more info */
slouken@2765
    10
slouken@2765
    11
/* stores the information we need to jump back */
slouken@2765
    12
jmp_buf env;
slouken@2765
    13
slouken@2765
    14
/* returns the jump environment for setting / getting purposes */
slouken@2765
    15
jmp_buf *
slouken@4473
    16
jump_env(void)
slouken@2765
    17
{
slouken@2765
    18
    return &env;
slouken@2765
    19
}