view src/video/uikit/jumphack.c @ 4437:25e45611fa3d

Fix a crash caused by empty keyboard focus --- src/events/SDL_keyboard.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
author Jjgod Jiang <gzjjgod@gmail.com>
date Tue, 20 Apr 2010 07:16:42 -0700
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;
}