A couple SDL20 passthrough function cleanups.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 10 Apr 2013 15:49:41 -0400
changeset 22fc1fad22e997
parent 21 acd0dd6933f3
child 23 171a5eadaca3
A couple SDL20 passthrough function cleanups.
src/SDL20_syms.h
     1.1 --- a/src/SDL20_syms.h	Wed Apr 10 15:49:56 2013 -0400
     1.2 +++ b/src/SDL20_syms.h	Wed Apr 10 15:49:41 2013 -0400
     1.3 @@ -24,7 +24,7 @@
     1.4  SDL20_SYM(int,Init,(Uint32 a),(a),return)
     1.5  SDL20_SYM(int,InitSubSystem,(Uint32 a),(a),return)
     1.6  SDL20_SYM(char*,GetError,(void),(),return)
     1.7 -SDL20_SYM_PASSTHROUGH(void,SDL_Error,(SDL_errorcode a),(a),)
     1.8 +SDL20_SYM_PASSTHROUGH(void,Error,(SDL_errorcode a),(a),)
     1.9  /*SDL20_SYM_PASSTHROUGH(void,SetError,(const char *fmt, ...);*/
    1.10  SDL20_SYM_PASSTHROUGH(void,ClearError,(void),(),)
    1.11  SDL20_SYM(void,Quit,(void),(),)
    1.12 @@ -40,11 +40,11 @@
    1.13  SDL20_SYM(void,FreeFormat,(SDL_PixelFormat *a),(a),)
    1.14  SDL20_SYM(SDL_Surface *,CreateRGBSurface,(Uint32 a, int b, int c, int d, Uint32 e, Uint32 f, Uint32 g, Uint32 h),(a,b,c,d,e,f,g,h),return)
    1.15  SDL20_SYM(SDL_Surface *,CreateRGBSurfaceFrom,(void *a, int b, int c, int d, int e, Uint32 f, Uint32 g, Uint32 h, Uint32 i),(a,b,c,d,e,f,g,h,i),return)
    1.16 -SDL20_SYM(void,SDL_FreeSurface,(SDL_Surface *a),(a),)
    1.17 +SDL20_SYM(void,FreeSurface,(SDL_Surface *a),(a),)
    1.18  SDL20_SYM(SDL_Surface*,LoadBMP_RW,(SDL_RWops *a, int b),(a,b),return)
    1.19  SDL20_SYM(int,SaveBMP_RW,(SDL_Surface *a, SDL_RWops *b, int c),(a,b,c),return)
    1.20 -SDL20_SYM_PASSTHROUGH(int,SDL_GL_LoadLibrary,(const char *a),(a),return)
    1.21 -SDL20_SYM_PASSTHROUGH(void *,SDL_GL_GetProcAddress,(const char *a),(a),return)
    1.22 +SDL20_SYM_PASSTHROUGH(int,GL_LoadLibrary,(const char *a),(a),return)
    1.23 +SDL20_SYM_PASSTHROUGH(void *,GL_GetProcAddress,(const char *a),(a),return)
    1.24  SDL20_SYM_PASSTHROUGH(int,ShowCursor,(int a),(a),return)
    1.25  
    1.26  SDL20_SYM_PASSTHROUGH(Uint32,GetThreadID,(SDL_Thread *a),(a),return)
    1.27 @@ -93,8 +93,8 @@
    1.28  SDL20_SYM_PASSTHROUGH(SDL_bool,HasSSE2,(void),(),return)
    1.29  SDL20_SYM_PASSTHROUGH(SDL_bool,HasAltiVec,(void),(),return)
    1.30  
    1.31 -SDL20_SYM(SDL_TimerID,SDL_AddTimer,(Uint32 a, SDL_TimerCallback b, void *c),(a,b,c),return)
    1.32 -SDL20_SYM(SDL_bool,SDL_RemoveTimer,(SDL_TimerID a),(a),return)
    1.33 +SDL20_SYM(SDL_TimerID,AddTimer,(Uint32 a, SDL_TimerCallback b, void *c),(a,b,c),return)
    1.34 +SDL20_SYM(SDL_bool,RemoveTimer,(SDL_TimerID a),(a),return)
    1.35  SDL20_SYM_PASSTHROUGH(Uint32,GetTicks,(void),(),return)
    1.36  SDL20_SYM_PASSTHROUGH(void,Delay,(Uint32 a),(a),)
    1.37