Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Because they are undesirable hacks used to allow an SDL programmer to execute his/her own code upon program exit. gsoc2008_iphone
authorHolmes Futrell <hfutrell@umail.ucsb.edu>
Fri, 15 Aug 2008 19:19:57 +0000
branchgsoc2008_iphone
changeset 24400a0205afed91
parent 2439 78bddf0c0fa2
child 2441 ed6a41cc2bce
Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Because they are undesirable hacks used to allow an SDL programmer to execute his/her own code upon program exit.
src/video/uikit/jump.c
src/video/uikit/jump.h
src/video/uikit/jumphack.c
src/video/uikit/jumphack.h
     1.1 --- a/src/video/uikit/jump.c	Fri Aug 15 19:16:01 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,13 +0,0 @@
     1.4 -/*
     1.5 - *  jump.c
     1.6 - *  iPodSDL
     1.7 - *
     1.8 - *  Created by Holmes Futrell on 7/2/08.
     1.9 - *  Copyright 2008 __MyCompanyName__. All rights reserved.
    1.10 - *
    1.11 - */
    1.12 -
    1.13 -#include "jump.h"
    1.14 -
    1.15 -jmp_buf env;
    1.16 -jmp_buf *jump_env() { return &env; }
    1.17 \ No newline at end of file
     2.1 --- a/src/video/uikit/jump.h	Fri Aug 15 19:16:01 2008 +0000
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,13 +0,0 @@
     2.4 -/*
     2.5 - *  jump.h
     2.6 - *  iPodSDL
     2.7 - *
     2.8 - *  Created by Holmes Futrell on 7/2/08.
     2.9 - *  Copyright 2008 __MyCompanyName__. All rights reserved.
    2.10 - *
    2.11 - */
    2.12 -
    2.13 -#include "setjmp.h"
    2.14 -
    2.15 -extern jmp_buf* jump_env();
    2.16 -extern int canJump;
    2.17 \ No newline at end of file
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/src/video/uikit/jumphack.c	Fri Aug 15 19:19:57 2008 +0000
     3.3 @@ -0,0 +1,10 @@
     3.4 +/*
     3.5 + *  jumphack.c
     3.6 + *  SDLiPhoneOS
     3.7 + *
     3.8 + */
     3.9 +
    3.10 +#include "jump.h"
    3.11 +
    3.12 +jmp_buf env;
    3.13 +jmp_buf *jump_env() { return &env; }
    3.14 \ No newline at end of file
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/src/video/uikit/jumphack.h	Fri Aug 15 19:19:57 2008 +0000
     4.3 @@ -0,0 +1,10 @@
     4.4 +/*
     4.5 + *  jumphack.h
     4.6 + *  SDLiPhoneOS
     4.7 + *
     4.8 + */
     4.9 +
    4.10 +#include "setjmp.h"
    4.11 +
    4.12 +extern jmp_buf* jump_env();
    4.13 +extern int canJump;
    4.14 \ No newline at end of file