view src/video/uikit/jumphack.c @ 3470:419f459f2f38

It's not the last pixel, it's the rightmost pixel, or if they're both the same x coordinate, the bottommost pixel.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 21 Nov 2009 06:19:34 +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;
}