view src/video/uikit/jumphack.c @ 3174:c8b9c6d27476

Fixed some typos and added a couple of includes. All were need to get SDL_power to compile on Linux. Sam, you might want to check to see that the spellings I picked are the spellings you wanted.
author Bob Pendleton <bob@pendleton.com>
date Mon, 08 Jun 2009 19:24:38 +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;
}