src/SDL20_syms.h
changeset 22 fc1fad22e997
parent 21 acd0dd6933f3
child 23 171a5eadaca3
equal deleted inserted replaced
21:acd0dd6933f3 22:fc1fad22e997
    22 /* don't #pragma once this file, it gets #included multiple times! */
    22 /* don't #pragma once this file, it gets #included multiple times! */
    23 
    23 
    24 SDL20_SYM(int,Init,(Uint32 a),(a),return)
    24 SDL20_SYM(int,Init,(Uint32 a),(a),return)
    25 SDL20_SYM(int,InitSubSystem,(Uint32 a),(a),return)
    25 SDL20_SYM(int,InitSubSystem,(Uint32 a),(a),return)
    26 SDL20_SYM(char*,GetError,(void),(),return)
    26 SDL20_SYM(char*,GetError,(void),(),return)
    27 SDL20_SYM_PASSTHROUGH(void,SDL_Error,(SDL_errorcode a),(a),)
    27 SDL20_SYM_PASSTHROUGH(void,Error,(SDL_errorcode a),(a),)
    28 /*SDL20_SYM_PASSTHROUGH(void,SetError,(const char *fmt, ...);*/
    28 /*SDL20_SYM_PASSTHROUGH(void,SetError,(const char *fmt, ...);*/
    29 SDL20_SYM_PASSTHROUGH(void,ClearError,(void),(),)
    29 SDL20_SYM_PASSTHROUGH(void,ClearError,(void),(),)
    30 SDL20_SYM(void,Quit,(void),(),)
    30 SDL20_SYM(void,Quit,(void),(),)
    31 SDL20_SYM(void,QuitSubSystem,(Uint32 a),(a),)
    31 SDL20_SYM(void,QuitSubSystem,(Uint32 a),(a),)
    32 SDL20_SYM_PASSTHROUGH(int,VideoInit,(const char *a),(a),return)
    32 SDL20_SYM_PASSTHROUGH(int,VideoInit,(const char *a),(a),return)
    38 
    38 
    39 SDL20_SYM(SDL_PixelFormat *,AllocFormat,(Uint32 a),(a),return)
    39 SDL20_SYM(SDL_PixelFormat *,AllocFormat,(Uint32 a),(a),return)
    40 SDL20_SYM(void,FreeFormat,(SDL_PixelFormat *a),(a),)
    40 SDL20_SYM(void,FreeFormat,(SDL_PixelFormat *a),(a),)
    41 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)
    41 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)
    42 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)
    42 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)
    43 SDL20_SYM(void,SDL_FreeSurface,(SDL_Surface *a),(a),)
    43 SDL20_SYM(void,FreeSurface,(SDL_Surface *a),(a),)
    44 SDL20_SYM(SDL_Surface*,LoadBMP_RW,(SDL_RWops *a, int b),(a,b),return)
    44 SDL20_SYM(SDL_Surface*,LoadBMP_RW,(SDL_RWops *a, int b),(a,b),return)
    45 SDL20_SYM(int,SaveBMP_RW,(SDL_Surface *a, SDL_RWops *b, int c),(a,b,c),return)
    45 SDL20_SYM(int,SaveBMP_RW,(SDL_Surface *a, SDL_RWops *b, int c),(a,b,c),return)
    46 SDL20_SYM_PASSTHROUGH(int,SDL_GL_LoadLibrary,(const char *a),(a),return)
    46 SDL20_SYM_PASSTHROUGH(int,GL_LoadLibrary,(const char *a),(a),return)
    47 SDL20_SYM_PASSTHROUGH(void *,SDL_GL_GetProcAddress,(const char *a),(a),return)
    47 SDL20_SYM_PASSTHROUGH(void *,GL_GetProcAddress,(const char *a),(a),return)
    48 SDL20_SYM_PASSTHROUGH(int,ShowCursor,(int a),(a),return)
    48 SDL20_SYM_PASSTHROUGH(int,ShowCursor,(int a),(a),return)
    49 
    49 
    50 SDL20_SYM_PASSTHROUGH(Uint32,GetThreadID,(SDL_Thread *a),(a),return)
    50 SDL20_SYM_PASSTHROUGH(Uint32,GetThreadID,(SDL_Thread *a),(a),return)
    51 SDL20_SYM_PASSTHROUGH(Uint32,ThreadID,(void),(),return)
    51 SDL20_SYM_PASSTHROUGH(Uint32,ThreadID,(void),(),return)
    52 SDL20_SYM_PASSTHROUGH(void,WaitThread,(SDL_Thread *a, int *b),(a,b),)
    52 SDL20_SYM_PASSTHROUGH(void,WaitThread,(SDL_Thread *a, int *b),(a,b),)
    91 SDL20_SYM_PASSTHROUGH(SDL_bool,Has3DNowExt,(void),(),return)
    91 SDL20_SYM_PASSTHROUGH(SDL_bool,Has3DNowExt,(void),(),return)
    92 SDL20_SYM_PASSTHROUGH(SDL_bool,HasSSE,(void),(),return)
    92 SDL20_SYM_PASSTHROUGH(SDL_bool,HasSSE,(void),(),return)
    93 SDL20_SYM_PASSTHROUGH(SDL_bool,HasSSE2,(void),(),return)
    93 SDL20_SYM_PASSTHROUGH(SDL_bool,HasSSE2,(void),(),return)
    94 SDL20_SYM_PASSTHROUGH(SDL_bool,HasAltiVec,(void),(),return)
    94 SDL20_SYM_PASSTHROUGH(SDL_bool,HasAltiVec,(void),(),return)
    95 
    95 
    96 SDL20_SYM(SDL_TimerID,SDL_AddTimer,(Uint32 a, SDL_TimerCallback b, void *c),(a,b,c),return)
    96 SDL20_SYM(SDL_TimerID,AddTimer,(Uint32 a, SDL_TimerCallback b, void *c),(a,b,c),return)
    97 SDL20_SYM(SDL_bool,SDL_RemoveTimer,(SDL_TimerID a),(a),return)
    97 SDL20_SYM(SDL_bool,RemoveTimer,(SDL_TimerID a),(a),return)
    98 SDL20_SYM_PASSTHROUGH(Uint32,GetTicks,(void),(),return)
    98 SDL20_SYM_PASSTHROUGH(Uint32,GetTicks,(void),(),return)
    99 SDL20_SYM_PASSTHROUGH(void,Delay,(Uint32 a),(a),)
    99 SDL20_SYM_PASSTHROUGH(void,Delay,(Uint32 a),(a),)
   100 
   100 
   101 SDL20_SYM_PASSTHROUGH(int,NumJoysticks,(void),(),return)
   101 SDL20_SYM_PASSTHROUGH(int,NumJoysticks,(void),(),return)
   102 SDL20_SYM_PASSTHROUGH(const char *,JoystickName,(int a),(a),return)
   102 SDL20_SYM_PASSTHROUGH(const char *,JoystickName,(int a),(a),return)