view src/video/uikit/jumphack.c @ 4944:921637675f2c

I am using SDL 1.3 on FreeBSD. I found two problems. (1) SDL_atomic dummy version in SDL 1.3 is not used. Because src/atomic/dummy/*.c are not used. (2) Typo in src/joystick/bsd/SDL_sysjoystick.c. Thanks, IWATSUKI Hiroyuki
author Sam Lantinga <slouken@libsdl.org>
date Sat, 01 Jan 2011 19:50:50 -0800
parents e8045ba3f79f
children
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(void)
{
    return &env;
}