33 #if !SDL_DYNAPI_PROC_NO_VARARGS
47 #ifdef SDL_CreateThread
48 #undef SDL_CreateThread
51 #if defined(__WIN32__) && !defined(HAVE_LIBC)
52 SDL_DYNAPI_PROC(
SDL_Thread*,
SDL_CreateThread,(
SDL_ThreadFunction a,
const char *b,
void *c, pfnSDL_CurrentBeginThread
d, pfnSDL_CurrentEndThread
e),(a,b,c,d,e),
return)
53 #elif defined(__OS2__)
54 SDL_DYNAPI_PROC(
SDL_Thread*,
SDL_CreateThread,(
SDL_ThreadFunction a,
const char *b,
void *c, pfnSDL_CurrentBeginThread d, pfnSDL_CurrentEndThread e),(a,b,c,d,e),
return)
73 SDL_DYNAPI_PROC(
int,
SDL_iPhoneSetAnimationCallback,(
SDL_Window *a,
int b,
void c,
void *d),(a,b,c,d),
return)
90 SDL_DYNAPI_PROC(
SDL_assert_state,
SDL_ReportAssertion,(
SDL_assert_data *a, const
char *b, const
char *c,
int d),(a,b,c,d),return)
112 SDL_DYNAPI_PROC(
SDL_AudioDeviceID,
SDL_OpenAudioDevice,(const
char *a,
int b, const
SDL_AudioSpec *c,
SDL_AudioSpec *d,
int e),(a,b,c,d,e),return)
117 SDL_DYNAPI_PROC(
SDL_AudioSpec*,
SDL_LoadWAV_RW,(
SDL_RWops *a,
int b, SDL_AudioSpec *c,
Uint8 **d, Uint32 *e),(a,b,c,d,e),return)
119 SDL_DYNAPI_PROC(
int,
SDL_BuildAudioCVT,(
SDL_AudioCVT *a,
SDL_AudioFormat b,
Uint8 c,
int d,
SDL_AudioFormat e,
Uint8 f,
int g),(a,b,c,d,e,f,g),return)
121 SDL_DYNAPI_PROC(
void,
SDL_MixAudio,(
Uint8 *a, const
Uint8 *b, Uint32 c,
int d),(a,b,c,d),)
122 SDL_DYNAPI_PROC(
void,
SDL_MixAudioFormat,(
Uint8 *a, const
Uint8 *b,
SDL_AudioFormat c, Uint32 d,
int e),(a,b,c,d,e),)
148 SDL_DYNAPI_PROC(
int,
SDL_PeepEvents,(
SDL_Event *a,
int b,
SDL_eventaction c, Uint32 d, Uint32 e),(a,b,c,d,e),return)
244 SDL_DYNAPI_PROC(
int,
SDL_JoystickGetBall,(SDL_Joystick *a,
int b,
int *c,
int *d),(a,b,c,d),return)
270 SDL_DYNAPI_PROC(
void,
SDL_LogMessageV,(
int a, SDL_LogPriority b, const
char *c, va_list d),(a,b,c,d),)
275 SDL_DYNAPI_PROC(
int,
SDL_ShowSimpleMessageBox,(Uint32 a, const
char *b, const
char *c, SDL_Window *d),(a,b,c,d),return)
282 SDL_DYNAPI_PROC(
SDL_Cursor*,
SDL_CreateCursor,(const Uint8 *a, const Uint8 *b,
int c,
int d,
int e,
int f),(a,b,c,d,e,f),return)
309 SDL_DYNAPI_PROC(SDL_bool,
SDL_PixelFormatEnumToMasks,(Uint32 a,
int *b, Uint32 *c, Uint32 *d, Uint32 *e, Uint32 *f),(a,b,c,d,e,f),return)
310 SDL_DYNAPI_PROC(Uint32,
SDL_MasksToPixelFormatEnum,(
int a, Uint32 b, Uint32 c, Uint32 d, Uint32 e),(a,b,c,d,e),return)
315 SDL_DYNAPI_PROC(
int,
SDL_SetPaletteColors,(SDL_Palette *a, const
SDL_Color *b,
int c,
int d),(a,b,c,d),return)
317 SDL_DYNAPI_PROC(Uint32,
SDL_MapRGB,(const SDL_PixelFormat *a, Uint8 b, Uint8 c, Uint8 d),(a,b,c,d),return)
318 SDL_DYNAPI_PROC(Uint32,
SDL_MapRGBA,(const SDL_PixelFormat *a, Uint8 b, Uint8 c, Uint8 d, Uint8 e),(a,b,c,d,e),return)
319 SDL_DYNAPI_PROC(
void,
SDL_GetRGB,(Uint32 a, const SDL_PixelFormat *b, Uint8 *c, Uint8 *d, Uint8 *e),(a,b,c,d,e),)
320 SDL_DYNAPI_PROC(
void,
SDL_GetRGBA,(Uint32 a, const SDL_PixelFormat *b, Uint8 *c, Uint8 *d, Uint8 *e, Uint8 *f),(a,b,c,d,e,f),)
327 SDL_DYNAPI_PROC(SDL_bool,
SDL_EnclosePoints,(const
SDL_Point *a,
int b, const
SDL_Rect *c,
SDL_Rect *d),(a,b,c,d),return)
328 SDL_DYNAPI_PROC(SDL_bool,
SDL_IntersectRectAndLine,(const
SDL_Rect *a,
int *b,
int *c,
int *d,
int *e),(a,b,c,d,e),return)
331 SDL_DYNAPI_PROC(
int,
SDL_CreateWindowAndRenderer,(
int a,
int b, Uint32 c, SDL_Window **d,
SDL_Renderer **e),(a,b,c,d,e),return)
337 SDL_DYNAPI_PROC(
SDL_Texture*,
SDL_CreateTexture,(SDL_Renderer *a, Uint32 b,
int c,
int d,
int e),(a,b,c,d,e),return)
339 SDL_DYNAPI_PROC(
int,
SDL_QueryTexture,(SDL_Texture *a, Uint32 *b,
int *c,
int *d,
int *e),(a,b,c,d,e),return)
340 SDL_DYNAPI_PROC(
int,
SDL_SetTextureColorMod,(SDL_Texture *a, Uint8 b, Uint8 c, Uint8 d),(a,b,c,d),return)
341 SDL_DYNAPI_PROC(
int,
SDL_GetTextureColorMod,(SDL_Texture *a, Uint8 *b, Uint8 *c, Uint8 *d),(a,b,c,d),return)
346 SDL_DYNAPI_PROC(
int,
SDL_UpdateTexture,(SDL_Texture *a, const
SDL_Rect *b, const
void *c,
int d),(a,b,c,d),return)
347 SDL_DYNAPI_PROC(
int,
SDL_UpdateYUVTexture,(SDL_Texture *a, const
SDL_Rect *b, const Uint8 *c,
int d, const Uint8 *e,
int f, const Uint8 *g,
int h),(a,b,c,d,e,f,g,h),return)
348 SDL_DYNAPI_PROC(
int,
SDL_LockTexture,(SDL_Texture *a, const
SDL_Rect *b,
void **c,
int *d),(a,b,c,d),return)
361 SDL_DYNAPI_PROC(
int,
SDL_SetRenderDrawColor,(SDL_Renderer *a, Uint8 b, Uint8 c, Uint8 d, Uint8 e),(a,b,c,d,e),return)
362 SDL_DYNAPI_PROC(
int,
SDL_GetRenderDrawColor,(SDL_Renderer *a, Uint8 *b, Uint8 *c, Uint8 *d, Uint8 *e),(a,b,c,d,e),return)
368 SDL_DYNAPI_PROC(
int,
SDL_RenderDrawLine,(SDL_Renderer *a,
int b,
int c,
int d,
int e),(a,b,c,d,e),return)
374 SDL_DYNAPI_PROC(
int,
SDL_RenderCopy,(SDL_Renderer *a, SDL_Texture *b, const
SDL_Rect *c, const
SDL_Rect *d),(a,b,c,d),return)
375 SDL_DYNAPI_PROC(
int,
SDL_RenderCopyEx,(SDL_Renderer *a, SDL_Texture *b, const
SDL_Rect *c, const
SDL_Rect *d, const
double e, const
SDL_Point *f, const
SDL_RendererFlip g),(a,b,c,d,e,f,g),return)
376 SDL_DYNAPI_PROC(
int,
SDL_RenderReadPixels,(SDL_Renderer *a, const
SDL_Rect *b, Uint32 c,
void *d,
int e),(a,b,c,d,e),return)
401 SDL_DYNAPI_PROC(SDL_Window*,
SDL_CreateShapedWindow,(const
char *a,
unsigned int b,
unsigned int c,
unsigned int d,
unsigned int e, Uint32 f),(a,b,c,d,e,f),return)
411 SDL_DYNAPI_PROC(
void,
SDL_qsort,(
void *a,
size_t b,
size_t c,
int (*d)(const
void *, const
void *)),(a,b,c,d),)
452 SDL_DYNAPI_PROC(
int,
SDL_vsnprintf,(
SDL_OUT_Z_CAP(b)
char *a,
size_t b, const
char *c, va_list d),(a,b,c,d),return)
471 SDL_DYNAPI_PROC(
size_t,
SDL_iconv,(SDL_iconv_t a, const
char **b,
size_t *c,
char **d,
size_t *e),(a,b,c,d,e),return)
472 SDL_DYNAPI_PROC(
char*,
SDL_iconv_string,(const
char *a, const
char *b, const
char *c,
size_t d),(a,b,c,d),return)
473 SDL_DYNAPI_PROC(
SDL_Surface*,
SDL_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)
474 SDL_DYNAPI_PROC(SDL_Surface*,
SDL_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)
484 SDL_DYNAPI_PROC(
int,
SDL_SetSurfaceColorMod,(SDL_Surface *a, Uint8 b, Uint8 c, Uint8 d),(a,b,c,d),return)
485 SDL_DYNAPI_PROC(
int,
SDL_GetSurfaceColorMod,(SDL_Surface *a, Uint8 *b, Uint8 *c, Uint8 *d),(a,b,c,d),return)
494 SDL_DYNAPI_PROC(
int,
SDL_ConvertPixels,(
int a,
int b, Uint32 c, const
void *d,
int e, Uint32 f,
void *g,
int h),(a,b,c,d,e,f,g,h),return)
496 SDL_DYNAPI_PROC(
int,
SDL_FillRects,(SDL_Surface *a, const
SDL_Rect *b,
int c, Uint32 d),(a,b,c,d),return)
497 SDL_DYNAPI_PROC(
int,
SDL_UpperBlit,(SDL_Surface *a, const
SDL_Rect *b, SDL_Surface *c,
SDL_Rect *d),(a,b,c,d),return)
498 SDL_DYNAPI_PROC(
int,
SDL_LowerBlit,(SDL_Surface *a,
SDL_Rect *b, SDL_Surface *c,
SDL_Rect *d),(a,b,c,d),return)
499 SDL_DYNAPI_PROC(
int,
SDL_SoftStretch,(SDL_Surface *a, const
SDL_Rect *b, SDL_Surface *c, const
SDL_Rect *d),(a,b,c,d),return)
500 SDL_DYNAPI_PROC(
int,
SDL_UpperBlitScaled,(SDL_Surface *a, const
SDL_Rect *b, SDL_Surface *c,
SDL_Rect *d),(a,b,c,d),return)
501 SDL_DYNAPI_PROC(
int,
SDL_LowerBlitScaled,(SDL_Surface *a,
SDL_Rect *b, SDL_Surface *c,
SDL_Rect *d),(a,b,c,d),return)
542 SDL_DYNAPI_PROC(SDL_Window*,
SDL_CreateWindow,(const
char *a,
int b,
int c,
int d,
int e, Uint32 f),(a,b,c,d,e,f),return)
575 SDL_DYNAPI_PROC(
int,
SDL_SetWindowGammaRamp,(SDL_Window *a, const Uint16 *b, const Uint16 *c, const Uint16 *d),(a,b,c,d),return)
576 SDL_DYNAPI_PROC(
int,
SDL_GetWindowGammaRamp,(SDL_Window *a, Uint16 *b, Uint16 *c, Uint16 *d),(a,b,c,d),return)
626 SDL_DYNAPI_PROC(
int,
SDL_GetDisplayDPI,(
int a,
float *b,
float *c,
float *d),(a,b,c,d),
return)
631 SDL_DYNAPI_PROC(
int,
SDL_GetWindowBordersSize,(SDL_Window *a,
int *b,
int *c,
int *d,
int *e),(a,b,c,d,e),return)
640 SDL_DYNAPI_PROC(SDL_Surface*,
SDL_CreateRGBSurfaceWithFormat,(Uint32 a,
int b,
int c,
int d, Uint32 e),(a,b,c,d,e),return)
641 SDL_DYNAPI_PROC(SDL_Surface*,
SDL_CreateRGBSurfaceWithFormatFrom,(
void *a,
int b,
int c,
int d,
int e, Uint32 f),(a,b,c,d,e,f),return)
664 SDL_DYNAPI_PROC(
SDL_BlendMode,
SDL_ComposeCustomBlendMode,(
SDL_BlendFactor a,
SDL_BlendFactor b,
SDL_BlendOperation c,
SDL_BlendFactor d,
SDL_BlendFactor e,
SDL_BlendOperation f),(a,b,c,d,e,f),return)
674 SDL_DYNAPI_PROC(
void,
SDL_GetMemoryFunctions,(
SDL_malloc_func *a,
SDL_calloc_func *b,
SDL_realloc_func *c,
SDL_free_func *d),(a,b,c,d),)
675 SDL_DYNAPI_PROC(
int,
SDL_SetMemoryFunctions,(
SDL_malloc_func a,
SDL_calloc_func b,
SDL_realloc_func c,
SDL_free_func d),(a,b,c,d),return)
677 SDL_DYNAPI_PROC(SDL_AudioStream*,
SDL_NewAudioStream,(const
SDL_AudioFormat a, const Uint8 b, const
int c, const
SDL_AudioFormat d, const Uint8 e, const
int f),(a,b,c,d,e,f),return)
723 SDL_DYNAPI_PROC(
int,
SDL_GameControllerRumble,(SDL_GameController *a, Uint16 b, Uint16 c, Uint32 d),(a,b,c,d),return)
724 SDL_DYNAPI_PROC(
int,
SDL_JoystickRumble,(SDL_Joystick *a, Uint16 b, Uint16 c, Uint32 d),(a,b,c,d),return)
743 #ifdef SDL_CreateThreadWithStackSize
744 #undef SDL_CreateThreadWithStackSize
747 #if defined(__WIN32__) && !defined(HAVE_LIBC)
748 SDL_DYNAPI_PROC(
SDL_Thread*,
SDL_CreateThreadWithStackSize,(
SDL_ThreadFunction a,
const char *b,
const size_t c,
void *d, pfnSDL_CurrentBeginThread e, pfnSDL_CurrentEndThread f),(a,b,c,d,e,f),
return)
749 #elif defined(__OS2__)
750 SDL_DYNAPI_PROC(
SDL_Thread*,
SDL_CreateThreadWithStackSize,(
SDL_ThreadFunction a,
const char *b,
const size_t c,
void *d, pfnSDL_CurrentBeginThread e, pfnSDL_CurrentEndThread f),(a,b,c,d,e,f),
return)
752 SDL_DYNAPI_PROC(
SDL_Thread*,
SDL_CreateThreadWithStackSize,(
SDL_ThreadFunction a,
const char *b,
const size_t c,
void *d),(a,b,c,d),
return)