SDL
2.0
|
#include "SDL_config.h"
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdarg.h>
#include <string.h>
#include <strings.h>
#include <wchar.h>
#include <inttypes.h>
#include <ctype.h>
#include <math.h>
#include <float.h>
#include "begin_code.h"
#include <alloca.h>
#include "close_code.h"
Go to the source code of this file.
Macros | |
#define | SDL_arraysize(array) (sizeof(array)/sizeof(array[0])) |
#define | SDL_TABLESIZE(table) SDL_arraysize(table) |
#define | SDL_STRINGIFY_ARG(arg) #arg |
#define | SDL_FOURCC(A, B, C, D) |
#define | SDL_PRIs64 "I64d" |
#define | SDL_PRIu64 "I64u" |
#define | SDL_PRIx64 "I64x" |
#define | SDL_PRIX64 "I64X" |
#define | SDL_IN_BYTECAP(x) |
#define | SDL_INOUT_Z_CAP(x) |
#define | SDL_OUT_Z_CAP(x) |
#define | SDL_OUT_CAP(x) |
#define | SDL_OUT_BYTECAP(x) |
#define | SDL_OUT_Z_BYTECAP(x) |
#define | SDL_PRINTF_FORMAT_STRING |
#define | SDL_SCANF_FORMAT_STRING |
#define | SDL_PRINTF_VARARG_FUNC(fmtargnumber) |
#define | SDL_SCANF_VARARG_FUNC(fmtargnumber) |
#define | SDL_COMPILE_TIME_ASSERT(name, x) typedef int SDL_compile_time_assert_ ## name[(x) * 2 - 1] |
#define | SDL_stack_alloc(type, count) (type*)alloca(sizeof(type)*(count)) |
#define | SDL_stack_free(data) |
#define | SDL_min(x, y) (((x) < (y)) ? (x) : (y)) |
#define | SDL_max(x, y) (((x) > (y)) ? (x) : (y)) |
#define | SDL_zero(x) SDL_memset(&(x), 0, sizeof((x))) |
#define | SDL_zerop(x) SDL_memset((x), 0, sizeof(*(x))) |
#define | SDL_ICONV_ERROR (size_t)-1 |
#define | SDL_ICONV_E2BIG (size_t)-2 |
#define | SDL_ICONV_EILSEQ (size_t)-3 |
#define | SDL_ICONV_EINVAL (size_t)-4 |
#define | SDL_iconv_utf8_locale(S) SDL_iconv_string("", "UTF-8", S, SDL_strlen(S)+1) |
#define | SDL_iconv_utf8_ucs2(S) (Uint16 *)SDL_iconv_string("UCS-2-INTERNAL", "UTF-8", S, SDL_strlen(S)+1) |
#define | SDL_iconv_utf8_ucs4(S) (Uint32 *)SDL_iconv_string("UCS-4-INTERNAL", "UTF-8", S, SDL_strlen(S)+1) |
Cast operators | |
Use proper C++ casts when compiled as C++ to be compatible with the option -Wold-style-cast of GCC (and -Werror=old-style-cast in GCC 4.2 and above). | |
#define | SDL_reinterpret_cast(type, expression) ((type)(expression)) |
#define | SDL_static_cast(type, expression) ((type)(expression)) |
#define | SDL_const_cast(type, expression) ((type)(expression)) |
Typedefs | |
typedef void *(* | SDL_malloc_func) (size_t size) |
typedef void *(* | SDL_calloc_func) (size_t nmemb, size_t size) |
typedef void *(* | SDL_realloc_func) (void *mem, size_t size) |
typedef void(* | SDL_free_func) (void *mem) |
Functions | |
void * | SDL_malloc (size_t size) |
void * | SDL_calloc (size_t nmemb, size_t size) |
void * | SDL_realloc (void *mem, size_t size) |
void | SDL_free (void *mem) |
void | SDL_GetMemoryFunctions (SDL_malloc_func *malloc_func, SDL_calloc_func *calloc_func, SDL_realloc_func *realloc_func, SDL_free_func *free_func) |
Get the current set of SDL memory functions. More... | |
int | SDL_SetMemoryFunctions (SDL_malloc_func malloc_func, SDL_calloc_func calloc_func, SDL_realloc_func realloc_func, SDL_free_func free_func) |
Replace SDL's memory allocation functions with a custom set. More... | |
int | SDL_GetNumAllocations (void) |
Get the number of outstanding (unfreed) allocations. More... | |
char * | SDL_getenv (const char *name) |
int | SDL_setenv (const char *name, const char *value, int overwrite) |
void | SDL_qsort (void *base, size_t nmemb, size_t size, int(*compare)(const void *, const void *)) |
int | SDL_abs (int x) |
int | SDL_isdigit (int x) |
int | SDL_isspace (int x) |
int | SDL_toupper (int x) |
int | SDL_tolower (int x) |
void * | SDL_memset (SDL_OUT_BYTECAP(len) void *dst, int c, size_t len) |
SDL_FORCE_INLINE void | SDL_memset4 (void *dst, Uint32 val, size_t dwords) |
void * | SDL_memcpy (SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len) |
void * | SDL_memmove (SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len) |
int | SDL_memcmp (const void *s1, const void *s2, size_t len) |
size_t | SDL_wcslen (const wchar_t *wstr) |
size_t | SDL_wcslcpy (SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen) |
size_t | SDL_wcslcat (SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen) |
int | SDL_wcscmp (const wchar_t *str1, const wchar_t *str2) |
size_t | SDL_strlen (const char *str) |
size_t | SDL_strlcpy (SDL_OUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen) |
size_t | SDL_utf8strlcpy (SDL_OUT_Z_CAP(dst_bytes) char *dst, const char *src, size_t dst_bytes) |
size_t | SDL_strlcat (SDL_INOUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen) |
char * | SDL_strdup (const char *str) |
char * | SDL_strrev (char *str) |
char * | SDL_strupr (char *str) |
char * | SDL_strlwr (char *str) |
char * | SDL_strchr (const char *str, int c) |
char * | SDL_strrchr (const char *str, int c) |
char * | SDL_strstr (const char *haystack, const char *needle) |
size_t | SDL_utf8strlen (const char *str) |
char * | SDL_itoa (int value, char *str, int radix) |
char * | SDL_uitoa (unsigned int value, char *str, int radix) |
char * | SDL_ltoa (long value, char *str, int radix) |
char * | SDL_ultoa (unsigned long value, char *str, int radix) |
char * | SDL_lltoa (Sint64 value, char *str, int radix) |
char * | SDL_ulltoa (Uint64 value, char *str, int radix) |
int | SDL_atoi (const char *str) |
double | SDL_atof (const char *str) |
long | SDL_strtol (const char *str, char **endp, int base) |
unsigned long | SDL_strtoul (const char *str, char **endp, int base) |
Sint64 | SDL_strtoll (const char *str, char **endp, int base) |
Uint64 | SDL_strtoull (const char *str, char **endp, int base) |
double | SDL_strtod (const char *str, char **endp) |
int | SDL_strcmp (const char *str1, const char *str2) |
int | SDL_strncmp (const char *str1, const char *str2, size_t maxlen) |
int | SDL_strcasecmp (const char *str1, const char *str2) |
int | SDL_strncasecmp (const char *str1, const char *str2, size_t len) |
int | SDL_sscanf (const char *text, SDL_SCANF_FORMAT_STRING const char *fmt,...) SDL_SCANF_VARARG_FUNC(2) |
int | SDL_vsscanf (const char *text, const char *fmt, va_list ap) |
int | SDL_snprintf (SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(3) |
int | SDL_vsnprintf (SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, const char *fmt, va_list ap) |
double | SDL_acos (double x) |
float | SDL_acosf (float x) |
double | SDL_asin (double x) |
float | SDL_asinf (float x) |
double | SDL_atan (double x) |
float | SDL_atanf (float x) |
double | SDL_atan2 (double x, double y) |
float | SDL_atan2f (float x, float y) |
double | SDL_ceil (double x) |
float | SDL_ceilf (float x) |
double | SDL_copysign (double x, double y) |
float | SDL_copysignf (float x, float y) |
double | SDL_cos (double x) |
float | SDL_cosf (float x) |
double | SDL_fabs (double x) |
float | SDL_fabsf (float x) |
double | SDL_floor (double x) |
float | SDL_floorf (float x) |
double | SDL_fmod (double x, double y) |
float | SDL_fmodf (float x, float y) |
double | SDL_log (double x) |
float | SDL_logf (float x) |
double | SDL_log10 (double x) |
float | SDL_log10f (float x) |
double | SDL_pow (double x, double y) |
float | SDL_powf (float x, float y) |
double | SDL_scalbn (double x, int n) |
float | SDL_scalbnf (float x, int n) |
double | SDL_sin (double x) |
float | SDL_sinf (float x) |
double | SDL_sqrt (double x) |
float | SDL_sqrtf (float x) |
double | SDL_tan (double x) |
float | SDL_tanf (float x) |
SDL_iconv_t | SDL_iconv_open (const char *tocode, const char *fromcode) |
int | SDL_iconv_close (SDL_iconv_t cd) |
size_t | SDL_iconv (SDL_iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) |
char * | SDL_iconv_string (const char *tocode, const char *fromcode, const char *inbuf, size_t inbytesleft) |
SDL_FORCE_INLINE void * | SDL_memcpy4 (SDL_OUT_BYTECAP(dwords *4) void *dst, SDL_IN_BYTECAP(dwords *4) const void *src, size_t dwords) |
Basic data types | |
#define | SDL_MAX_SINT8 ((Sint8)0x7F) /* 127 */ |
A signed 8-bit integer type. More... | |
#define | SDL_MIN_SINT8 ((Sint8)(~0x7F)) /* -128 */ |
#define | SDL_MAX_UINT8 ((Uint8)0xFF) /* 255 */ |
An unsigned 8-bit integer type. More... | |
#define | SDL_MIN_UINT8 ((Uint8)0x00) /* 0 */ |
#define | SDL_MAX_SINT16 ((Sint16)0x7FFF) /* 32767 */ |
A signed 16-bit integer type. More... | |
#define | SDL_MIN_SINT16 ((Sint16)(~0x7FFF)) /* -32768 */ |
#define | SDL_MAX_UINT16 ((Uint16)0xFFFF) /* 65535 */ |
An unsigned 16-bit integer type. More... | |
#define | SDL_MIN_UINT16 ((Uint16)0x0000) /* 0 */ |
#define | SDL_MAX_SINT32 ((Sint32)0x7FFFFFFF) /* 2147483647 */ |
A signed 32-bit integer type. More... | |
#define | SDL_MIN_SINT32 ((Sint32)(~0x7FFFFFFF)) /* -2147483648 */ |
#define | SDL_MAX_UINT32 ((Uint32)0xFFFFFFFFu) /* 4294967295 */ |
An unsigned 32-bit integer type. More... | |
#define | SDL_MIN_UINT32 ((Uint32)0x00000000) /* 0 */ |
#define | SDL_MAX_SINT64 ((Sint64)0x7FFFFFFFFFFFFFFFll) /* 9223372036854775807 */ |
A signed 64-bit integer type. More... | |
#define | SDL_MIN_SINT64 ((Sint64)(~0x7FFFFFFFFFFFFFFFll)) /* -9223372036854775808 */ |
#define | SDL_MAX_UINT64 ((Uint64)0xFFFFFFFFFFFFFFFFull) /* 18446744073709551615 */ |
An unsigned 64-bit integer type. More... | |
#define | SDL_MIN_UINT64 ((Uint64)(0x0000000000000000ull)) /* 0 */ |
enum | SDL_bool { SDL_FALSE = 0, SDL_TRUE = 1 } |
typedef int8_t | Sint8 |
typedef uint8_t | Uint8 |
typedef int16_t | Sint16 |
typedef uint16_t | Uint16 |
typedef int32_t | Sint32 |
typedef uint32_t | Uint32 |
typedef int64_t | Sint64 |
typedef uint64_t | Uint64 |
This is a general header that includes C language support.
Definition in file SDL_stdinc.h.
The number of elements in an array.
Definition at line 93 of file SDL_stdinc.h.
Referenced by ConfigureBinding(), createDevice(), get_allocation_bucket(), get_audio_device(), IMA_ADPCM_decode(), main(), main_testInitQuitSubSystem(), open_audio_device(), run_automated_tests(), SDL_AudioQuit(), SDL_GameControllerAddMappingsFromRW(), SDL_GameControllerEventState(), SDL_GetErrorMsg(), SDL_GetNumAudioDrivers(), SDL_GetNumRenderDrivers(), SDL_GetNumVideoDrivers(), SDL_GetScancodeFromName(), SDL_iconv_open(), SDL_IsJoystickProductFlightStick(), SDL_IsJoystickProductThrottle(), SDL_IsJoystickProductWheel(), SDL_JoystickAxesCenteredAtZero(), SDL_JoystickEventState(), SDL_LogOutput(), SDL_PromptAssertion(), SDL_RemoveAudioDevice(), SDL_SendEditingText(), SDL_SendKeyboardText(), SDL_StopEventLoop(), SDL_SYS_MFIJoystickUpdate(), SDL_TrackAllocation(), SDL_WasInit(), SDLTest_CleanupTextDrawing(), SDLTest_CommonInit(), SDLTest_LogAllocations(), surface_testCompleteSurfaceConversion(), and WatchJoystick().
#define SDL_COMPILE_TIME_ASSERT | ( | name, | |
x | |||
) | typedef int SDL_compile_time_assert_ ## name[(x) * 2 - 1] |
Definition at line 290 of file SDL_stdinc.h.
Referenced by SDL_AtomicTryLock(), and TestTypes().
Definition at line 117 of file SDL_stdinc.h.
Referenced by SDL_strchr(), SDL_strrchr(), SDL_strstr(), and SDL_TLSSet().
#define SDL_FOURCC | ( | A, | |
B, | |||
C, | |||
D | |||
) |
Definition at line 122 of file SDL_stdinc.h.
#define SDL_ICONV_E2BIG (size_t)-2 |
Definition at line 540 of file SDL_stdinc.h.
Referenced by SDL_iconv(), and SDL_iconv_string().
#define SDL_ICONV_EILSEQ (size_t)-3 |
Definition at line 541 of file SDL_stdinc.h.
Referenced by SDL_iconv_string().
#define SDL_ICONV_EINVAL (size_t)-4 |
Definition at line 542 of file SDL_stdinc.h.
Referenced by SDL_iconv(), and SDL_iconv_string().
#define SDL_ICONV_ERROR (size_t)-1 |
Definition at line 539 of file SDL_stdinc.h.
Referenced by SDL_iconv_string().
#define SDL_iconv_utf8_locale | ( | S | ) | SDL_iconv_string("", "UTF-8", S, SDL_strlen(S)+1) |
Definition at line 560 of file SDL_stdinc.h.
#define SDL_iconv_utf8_ucs2 | ( | S | ) | (Uint16 *)SDL_iconv_string("UCS-2-INTERNAL", "UTF-8", S, SDL_strlen(S)+1) |
Definition at line 561 of file SDL_stdinc.h.
#define SDL_iconv_utf8_ucs4 | ( | S | ) | (Uint32 *)SDL_iconv_string("UCS-4-INTERNAL", "UTF-8", S, SDL_strlen(S)+1) |
Definition at line 562 of file SDL_stdinc.h.
#define SDL_IN_BYTECAP | ( | x | ) |
Definition at line 272 of file SDL_stdinc.h.
Referenced by SDL_memset4().
#define SDL_INOUT_Z_CAP | ( | x | ) |
Definition at line 273 of file SDL_stdinc.h.
Referenced by SDL_memset4().
Definition at line 407 of file SDL_stdinc.h.
Referenced by BBindingContainsBinding(), drawLine(), RenderDrawLinesWithRects(), SDL_RendererEventWatch(), SDL_SendMouseButtonClicks(), SDL_SetWindowMinimumSize(), SDL_SYS_AccelerometerUpdate(), and SW_RenderFillRects().
#define SDL_MAX_SINT16 ((Sint16)0x7FFF) /* 32767 */ |
A signed 16-bit integer type.
Definition at line 161 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_MAX_SINT32 ((Sint32)0x7FFFFFFF) /* 2147483647 */ |
A signed 32-bit integer type.
Definition at line 173 of file SDL_stdinc.h.
Referenced by SDL_CreateRGBSurfaceWithFormat(), and TestTypes().
#define SDL_MAX_SINT64 ((Sint64)0x7FFFFFFFFFFFFFFFll) /* 9223372036854775807 */ |
A signed 64-bit integer type.
Definition at line 186 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_MAX_SINT8 ((Sint8)0x7F) /* 127 */ |
A signed 8-bit integer type.
Definition at line 149 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_MAX_UINT16 ((Uint16)0xFFFF) /* 65535 */ |
An unsigned 16-bit integer type.
Definition at line 167 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_MAX_UINT32 ((Uint32)0xFFFFFFFFu) /* 4294967295 */ |
An unsigned 32-bit integer type.
Definition at line 179 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_MAX_UINT64 ((Uint64)0xFFFFFFFFFFFFFFFFull) /* 18446744073709551615 */ |
An unsigned 64-bit integer type.
Definition at line 192 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_MAX_UINT8 ((Uint8)0xFF) /* 255 */ |
An unsigned 8-bit integer type.
Definition at line 155 of file SDL_stdinc.h.
Referenced by TestTypes().
Definition at line 406 of file SDL_stdinc.h.
Referenced by BBindingContainsBinding(), bestDollarDifference(), RenderDrawLinesWithRects(), SDL_NewAudioStream(), SDL_PeekIntoDataQueue(), SDL_PrintFloat(), SDL_PrintString(), SDL_PrivateSendMouseButton(), SDL_ReadFromDataQueue(), SDL_RendererEventWatch(), SDL_ResampleAudio(), SDL_ResampleAudioStream(), SDL_SetWindowMaximumSize(), SDL_strlcpy(), SDL_SYS_AccelerometerUpdate(), SDL_SYS_AddJoystickDevice(), SDL_utf8strlcpy(), SDL_vsnprintf(), SDL_WasInit(), SDL_wcslcpy(), and SDL_WriteToDataQueue().
#define SDL_MIN_SINT16 ((Sint16)(~0x7FFF)) /* -32768 */ |
Definition at line 162 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_MIN_SINT32 ((Sint32)(~0x7FFFFFFF)) /* -2147483648 */ |
Definition at line 174 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_MIN_SINT64 ((Sint64)(~0x7FFFFFFFFFFFFFFFll)) /* -9223372036854775808 */ |
Definition at line 187 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_MIN_SINT8 ((Sint8)(~0x7F)) /* -128 */ |
Definition at line 150 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_MIN_UINT16 ((Uint16)0x0000) /* 0 */ |
Definition at line 168 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_MIN_UINT32 ((Uint32)0x00000000) /* 0 */ |
Definition at line 180 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_MIN_UINT64 ((Uint64)(0x0000000000000000ull)) /* 0 */ |
Definition at line 193 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_MIN_UINT8 ((Uint8)0x00) /* 0 */ |
Definition at line 156 of file SDL_stdinc.h.
Referenced by TestTypes().
#define SDL_OUT_BYTECAP | ( | x | ) |
Definition at line 276 of file SDL_stdinc.h.
Referenced by SDL_memset4().
#define SDL_OUT_CAP | ( | x | ) |
Definition at line 275 of file SDL_stdinc.h.
#define SDL_OUT_Z_BYTECAP | ( | x | ) |
Definition at line 277 of file SDL_stdinc.h.
#define SDL_OUT_Z_CAP | ( | x | ) |
Definition at line 274 of file SDL_stdinc.h.
Referenced by SDL_memset4().
#define SDL_PRINTF_FORMAT_STRING |
Definition at line 278 of file SDL_stdinc.h.
Referenced by SDL_memset4().
#define SDL_PRINTF_VARARG_FUNC | ( | fmtargnumber | ) |
Definition at line 285 of file SDL_stdinc.h.
Referenced by SDL_memset4().
#define SDL_PRIs64 "I64d" |
Definition at line 205 of file SDL_stdinc.h.
Referenced by _testGenericRWopsValidations(), loop(), sdltest_randomBoundaryNumberSint16(), sdltest_randomBoundaryNumberSint32(), sdltest_randomBoundaryNumberSint64(), sdltest_randomBoundaryNumberSint8(), sdltest_randomBoundaryNumberUint16(), sdltest_randomBoundaryNumberUint32(), sdltest_randomBoundaryNumberUint64(), sdltest_randomBoundaryNumberUint8(), and sdltest_randomNumber().
#define SDL_PRIu64 "I64u" |
Definition at line 216 of file SDL_stdinc.h.
Referenced by main(), rwops_testFileWriteReadEndian(), sdltest_randomNumber(), SDLTest_RunSuites(), timer_getPerformanceCounter(), and timer_getPerformanceFrequency().
#define SDL_PRIx64 "I64x" |
Definition at line 227 of file SDL_stdinc.h.
Referenced by SDLTest_LogAllocations().
#define SDL_PRIX64 "I64X" |
Definition at line 238 of file SDL_stdinc.h.
Referenced by platform_testEndianessAndSwap(), and TestEndian().
Definition at line 115 of file SDL_stdinc.h.
#define SDL_SCANF_FORMAT_STRING |
Definition at line 279 of file SDL_stdinc.h.
Referenced by SDL_memset4().
#define SDL_SCANF_VARARG_FUNC | ( | fmtargnumber | ) |
Definition at line 286 of file SDL_stdinc.h.
Referenced by SDL_memset4().
Definition at line 354 of file SDL_stdinc.h.
Referenced by main(), RenderDrawLinesWithRects(), RenderDrawPointsWithRects(), SDL_LogMessageV(), SDL_LogOutput(), SDL_PromptAssertion(), SDL_RenderDrawLines(), SDL_RenderDrawPoints(), SDL_RenderFillRects(), SDL_RWFromFile(), SW_RenderDrawLines(), SW_RenderDrawPoints(), SW_RenderFillRects(), and UpdateEventsForDeviceRemoval().
#define SDL_stack_free | ( | data | ) |
Definition at line 355 of file SDL_stdinc.h.
Referenced by main(), RenderDrawLinesWithRects(), RenderDrawPointsWithRects(), SDL_LogMessageV(), SDL_LogOutput(), SDL_PromptAssertion(), SDL_RenderDrawLines(), SDL_RenderDrawPoints(), SDL_RenderFillRects(), SDL_RWFromFile(), SW_RenderDrawLines(), SW_RenderDrawPoints(), SW_RenderFillRects(), and UpdateEventsForDeviceRemoval().
Definition at line 116 of file SDL_stdinc.h.
Referenced by SDL_memset4(), SDL_Swap16(), SDL_Swap32(), and SDL_Swap64().
#define SDL_STRINGIFY_ARG | ( | arg | ) | #arg |
Macro useful for building other macros with strings in them
e.g. #define LOG_ERROR(X) OutputDebugString(SDL_STRINGIFY_ARG(FUNCTION) ": " X "\n")
Definition at line 101 of file SDL_stdinc.h.
#define SDL_TABLESIZE | ( | table | ) | SDL_arraysize(table) |
Definition at line 94 of file SDL_stdinc.h.
Referenced by handleKeyboardEvent().
#define SDL_zero | ( | x | ) | SDL_memset(&(x), 0, sizeof((x))) |
Definition at line 416 of file SDL_stdinc.h.
Referenced by SDL_BApp::_HandleKey(), _testGenericRWopsValidations(), GetMouseClickState(), main(), RunFIFOTest(), rwops_testMem(), SDL_AddAudioDevice(), SDL_AddBasicVideoDisplay(), SDL_AudioInit(), SDL_AudioQuit(), SDL_BuildAudioCVT(), SDL_GameControllerGetBindForAxis(), SDL_GameControllerGetBindForButton(), SDL_GameControllerQuitMappings(), SDL_GestureAddTouch(), SDL_GestureDelTouch(), SDL_GetEventFilter(), SDL_GetWindowPosition(), SDL_JoystickGetDeviceGUID(), SDL_JoystickGetGUID(), SDL_LoadWAV_RW(), SDL_OpenAudio(), SDL_OpenedAudioDeviceDisconnected(), SDL_PrivateGameControllerParseControllerConfigString(), SDL_PromptAssertion(), SDL_RenderSetClipRect(), SDL_SendDrop(), SDL_SetRenderTarget(), SDL_SetWindowDisplayMode(), SDL_SetWindowPosition(), SDL_ShowSimpleMessageBox(), SDL_StopEventLoop(), SDL_SYS_JoystickGetDeviceGUID(), SDL_SYS_JoystickGetGUID(), SDL_TrackAllocation(), SDL_UpdateFullscreenMode(), SDL_vsnprintf(), SDLTest_CommonInit(), videoInit(), and WatchJoystick().
#define SDL_zerop | ( | x | ) | SDL_memset((x), 0, sizeof(*(x))) |
Definition at line 417 of file SDL_stdinc.h.
Referenced by SDL_BuildAudioCVT(), SDL_CreateSurfaceOnStack(), SDL_CreateThreadWithStackSize(), SDL_GetErrBuf(), SDL_HapticRumbleInit(), SDL_InitFormat(), SDL_LoadWAV_RW(), SDL_MouseInit(), SDL_NewDataQueue(), and SetCurrentBinding().
Definition at line 367 of file SDL_stdinc.h.
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 SDL_AssertionHandler void SDL_SpinLock SDL_atomic_t int int return SDL_atomic_t return void void void return void return int return SDL_AudioSpec SDL_AudioSpec return int int return return int SDL_RWops int SDL_AudioSpec Uint8 Uint32 return SDL_AudioCVT SDL_AudioFormat Uint8 int SDL_AudioFormat Uint8 int return Uint8 const Uint8 Uint32 int const char return return return return return return return return Uint32 return Uint32 SDL_Event return SDL_Event int return SDL_EventFilter void SDL_EventFilter void SDL_EventFilter void int return const char const char return SDL_JoystickGUID return int return int return SDL_GameController return int return const char return SDL_GameController SDL_GameControllerAxis return const char return SDL_GameController SDL_GameControllerButton return SDL_GameController SDL_RWops return SDL_TouchID SDL_RWops return int return int return return SDL_Joystick return SDL_Haptic SDL_Haptic return SDL_Haptic return SDL_Haptic SDL_HapticEffect return SDL_Haptic int Uint32 return SDL_Haptic int SDL_Haptic int return SDL_Haptic return SDL_Haptic return SDL_Haptic return SDL_Haptic return const char const char return const char SDL_HintCallback void int return SDL_Joystick return SDL_Joystick return const char return SDL_Joystick return SDL_Joystick return SDL_Joystick return int return SDL_Joystick int return SDL_Joystick int return return return SDL_Scancode return SDL_Scancode return SDL_Keycode return return const char return void int SDL_LogPriority SDL_LogOutputFunction void Uint32 const char const char SDL_Window return int int return SDL_Window int int return SDL_Surface int int return SDL_Cursor return int return SDL_mutex return SDL_mutex return Uint32 return SDL_sem return SDL_sem Uint32 return SDL_sem return SDL_cond SDL_cond return SDL_cond SDL_mutex Uint32 return Uint32 int Uint32 Uint32 Uint32 Uint32 return Uint32 return int return SDL_Palette const SDL_Color int int return const SDL_PixelFormat Uint8 Uint8 Uint8 return Uint32 const SDL_PixelFormat Uint8 Uint8 Uint8 float Uint16 int int return const SDL_Rect const SDL_Rect SDL_Rect return const SDL_Point int const SDL_Rect SDL_Rect return return int int Uint32 SDL_Window SDL_Renderer return SDL_Surface return SDL_Renderer SDL_RendererInfo return SDL_Renderer Uint32 int int int return SDL_Texture Uint32 int int int return SDL_Texture Uint8 Uint8 Uint8 return SDL_Texture Uint8 return SDL_Texture SDL_BlendMode return SDL_Texture const SDL_Rect const Uint8 int const Uint8 int const Uint8 int return SDL_Texture SDL_Renderer SDL_Texture return SDL_Renderer int int return SDL_Renderer const SDL_Rect return SDL_Renderer const SDL_Rect return SDL_Renderer float float return SDL_Renderer Uint8 Uint8 Uint8 Uint8 return SDL_Renderer SDL_BlendMode return SDL_Renderer return SDL_Renderer const SDL_Point int return SDL_Renderer const SDL_Point int return SDL_Renderer const SDL_Rect int return SDL_Renderer const SDL_Rect int return SDL_Renderer SDL_Texture const SDL_Rect const SDL_Rect const double const SDL_Point const SDL_RendererFlip return SDL_Renderer SDL_Renderer SDL_Texture return void int return return SDL_RWops return SDL_RWops return SDL_RWops return SDL_RWops return SDL_RWops Uint16 return SDL_RWops Uint32 return SDL_RWops Uint64 return const char unsigned int unsigned int unsigned int unsigned int Uint32 return SDL_Window SDL_Surface SDL_WindowShapeMode return size_t return void size_t return const char return void size_t size_t int(*) void int return int return int size_t return size_t return const wchar_t return const wchar_t size_t return const char size_t return const char size_t return char return char return const char int return int char int return long char int return Sint64 char int return const char return const char char int return const char char int return const char char return const char const char size_t return const char const char size_t return double return double return double return double return double return double return double int return float return const char const char return SDL_iconv_t const char size_t char size_t return Uint32 int int int Uint32 Uint32 Uint32 Uint32 return SDL_Surface SDL_Surface return SDL_RWops int return SDL_Surface int return SDL_Surface Uint32 return SDL_Surface Uint8 Uint8 Uint8 return SDL_Surface Uint8 return SDL_Surface SDL_BlendMode return SDL_Surface SDL_Rect SDL_Surface Uint32 Uint32 return SDL_Surface const SDL_Rect Uint32 return SDL_Surface const SDL_Rect SDL_Surface SDL_Rect return SDL_Surface const SDL_Rect SDL_Surface const SDL_Rect return SDL_Surface SDL_Rect SDL_Surface SDL_Rect return SDL_Thread return SDL_Thread return SDL_Thread int return SDL_TLSID const void void(*) return return Uint32 SDL_TimerID return int return SDL_TouchID int return return return const char return return int return int return int SDL_DisplayMode return int const SDL_DisplayMode SDL_DisplayMode return SDL_Window const SDL_DisplayMode return SDL_Window return const void return Uint32 return SDL_Window const char SDL_Window SDL_Surface SDL_Window const char return SDL_Window int int SDL_Window int int SDL_Window int int SDL_Window int int SDL_Window SDL_Window SDL_Window SDL_Window Uint32 return SDL_Window return SDL_Window SDL_bool SDL_Window float return SDL_Window const Uint16 const Uint16 const Uint16 return SDL_Window const char return SDL_GLattr int return SDL_Window return return SDL_Window int int return SDL_GLContext SDL_RWops int return return void return int int return double return SDL_bool return int int return SDL_AudioDeviceID const void Uint32 return SDL_AudioDeviceID int float float float return SDL_JoystickID return int SDL_Rect return SDL_Window float return SDL_Window return SDL_Renderer SDL_bool return SDL_AudioDeviceID void Uint32 return Uint32 int int int Uint32 return const char SDL_bool return int return SDL_Joystick return SDL_Joystick return SDL_GameController return return int return int return int return SDL_RWops size_t int return SDL_BlendFactor SDL_BlendFactor SDL_BlendOperation SDL_BlendFactor SDL_BlendFactor SDL_BlendOperation return const char return SDL_Window VkInstance VkSurfaceKHR return SDL_malloc_func SDL_calloc_func SDL_realloc_func SDL_free_func |
Definition at line 369 of file SDL_stdinc.h.
Definition at line 366 of file SDL_stdinc.h.
Definition at line 368 of file SDL_stdinc.h.
Definition at line 163 of file SDL_stdinc.h.
Definition at line 175 of file SDL_stdinc.h.
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 SDL_AssertionHandler void SDL_SpinLock SDL_atomic_t int int return SDL_atomic_t return void void void return void return int return SDL_AudioSpec SDL_AudioSpec return int int return return int SDL_RWops int SDL_AudioSpec Uint8 Uint32 return SDL_AudioCVT SDL_AudioFormat Uint8 int SDL_AudioFormat Uint8 int return Uint8 const Uint8 Uint32 int const char return return return return return return return return Uint32 return Uint32 SDL_Event return SDL_Event int return SDL_EventFilter void SDL_EventFilter void SDL_EventFilter void int return const char const char return SDL_JoystickGUID return int return int return SDL_GameController return int return const char return SDL_GameController SDL_GameControllerAxis return const char return SDL_GameController SDL_GameControllerButton return SDL_GameController SDL_RWops return SDL_TouchID SDL_RWops return int return int return return SDL_Joystick return SDL_Haptic SDL_Haptic return SDL_Haptic return SDL_Haptic SDL_HapticEffect return SDL_Haptic int Uint32 return SDL_Haptic int SDL_Haptic int return SDL_Haptic return SDL_Haptic return SDL_Haptic return SDL_Haptic return const char const char return const char SDL_HintCallback void int return SDL_Joystick return SDL_Joystick return const char return SDL_Joystick return SDL_Joystick return SDL_Joystick return int return SDL_Joystick int return SDL_Joystick int return return return SDL_Scancode return SDL_Scancode return SDL_Keycode return return const char return void int SDL_LogPriority SDL_LogOutputFunction void Uint32 const char const char SDL_Window return int int return SDL_Window int int return SDL_Surface int int return SDL_Cursor return int return SDL_mutex return SDL_mutex return Uint32 return SDL_sem return SDL_sem Uint32 return SDL_sem return SDL_cond SDL_cond return SDL_cond SDL_mutex Uint32 return Uint32 int Uint32 Uint32 Uint32 Uint32 return Uint32 return int return SDL_Palette const SDL_Color int int return const SDL_PixelFormat Uint8 Uint8 Uint8 return Uint32 const SDL_PixelFormat Uint8 Uint8 Uint8 float Uint16 int int return const SDL_Rect const SDL_Rect SDL_Rect return const SDL_Point int const SDL_Rect SDL_Rect return return int int Uint32 SDL_Window SDL_Renderer return SDL_Surface return SDL_Renderer SDL_RendererInfo return SDL_Renderer Uint32 int int int return SDL_Texture Uint32 int int int return SDL_Texture Uint8 Uint8 Uint8 return SDL_Texture Uint8 return SDL_Texture SDL_BlendMode return SDL_Texture const SDL_Rect const Uint8 int const Uint8 int const Uint8 int return SDL_Texture SDL_Renderer SDL_Texture return SDL_Renderer int int return SDL_Renderer const SDL_Rect return SDL_Renderer const SDL_Rect return SDL_Renderer float float return SDL_Renderer Uint8 Uint8 Uint8 Uint8 return SDL_Renderer SDL_BlendMode return SDL_Renderer return SDL_Renderer const SDL_Point int return SDL_Renderer const SDL_Point int return SDL_Renderer const SDL_Rect int return SDL_Renderer const SDL_Rect int return SDL_Renderer SDL_Texture const SDL_Rect const SDL_Rect const double const SDL_Point const SDL_RendererFlip return SDL_Renderer SDL_Renderer SDL_Texture return void int return return SDL_RWops return SDL_RWops return SDL_RWops return SDL_RWops return SDL_RWops Uint16 return SDL_RWops Uint32 return SDL_RWops Uint64 return const char unsigned int unsigned int unsigned int unsigned int Uint32 return SDL_Window SDL_Surface SDL_WindowShapeMode return size_t return void size_t return const char return void size_t size_t int(*) a int return int return int size_t return size_t return const wchar_t return const wchar_t size_t return const char size_t return const char size_t return char return char return const char int return int char int return long char int return Sint64 |
Definition at line 188 of file SDL_stdinc.h.
Definition at line 151 of file SDL_stdinc.h.
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 SDL_AssertionHandler void SDL_SpinLock SDL_atomic_t int int return SDL_atomic_t return void void void return void return int return SDL_AudioSpec SDL_AudioSpec return int int return return int SDL_RWops int SDL_AudioSpec Uint8 Uint32 return SDL_AudioCVT SDL_AudioFormat Uint8 int SDL_AudioFormat Uint8 int return Uint8 const Uint8 Uint32 int const char return return return return return return return return Uint32 return Uint32 SDL_Event return SDL_Event int return SDL_EventFilter void SDL_EventFilter void SDL_EventFilter void int return const char const char return SDL_JoystickGUID return int return int return SDL_GameController return int return const char return SDL_GameController SDL_GameControllerAxis return const char return SDL_GameController SDL_GameControllerButton return SDL_GameController SDL_RWops return SDL_TouchID SDL_RWops return int return int return return SDL_Joystick return SDL_Haptic SDL_Haptic return SDL_Haptic return SDL_Haptic SDL_HapticEffect return SDL_Haptic int Uint32 return SDL_Haptic int SDL_Haptic int return SDL_Haptic return SDL_Haptic return SDL_Haptic return SDL_Haptic return const char const char return const char SDL_HintCallback void int return SDL_Joystick return SDL_Joystick return const char return SDL_Joystick return SDL_Joystick return SDL_Joystick return int return SDL_Joystick int return SDL_Joystick int return return return SDL_Scancode return SDL_Scancode return SDL_Keycode return return const char return void int SDL_LogPriority SDL_LogOutputFunction void Uint32 const char const char SDL_Window return int int return SDL_Window int int return SDL_Surface int int return SDL_Cursor return int return SDL_mutex return SDL_mutex return Uint32 return SDL_sem return SDL_sem Uint32 return SDL_sem return SDL_cond SDL_cond return SDL_cond SDL_mutex Uint32 return Uint32 int Uint32 Uint32 Uint32 Uint32 return Uint32 return int return SDL_Palette const SDL_Color int int return const SDL_PixelFormat Uint8 Uint8 Uint8 return Uint32 const SDL_PixelFormat Uint8 Uint8 Uint8 float Uint16 int int return const SDL_Rect const SDL_Rect SDL_Rect return const SDL_Point int const SDL_Rect SDL_Rect return return int int Uint32 SDL_Window SDL_Renderer return SDL_Surface return SDL_Renderer SDL_RendererInfo return SDL_Renderer Uint32 int int int return SDL_Texture Uint32 int int int return SDL_Texture Uint8 Uint8 Uint8 return SDL_Texture Uint8 return SDL_Texture SDL_BlendMode return SDL_Texture const SDL_Rect const Uint8 int const Uint8 int const Uint8 int return SDL_Texture SDL_Renderer SDL_Texture return SDL_Renderer int int return SDL_Renderer const SDL_Rect return SDL_Renderer const SDL_Rect return SDL_Renderer float float return SDL_Renderer Uint8 Uint8 Uint8 Uint8 return SDL_Renderer SDL_BlendMode return SDL_Renderer return SDL_Renderer const SDL_Point int return SDL_Renderer const SDL_Point int return SDL_Renderer const SDL_Rect int return SDL_Renderer const SDL_Rect int return SDL_Renderer SDL_Texture const SDL_Rect const SDL_Rect const double const SDL_Point const SDL_RendererFlip return SDL_Renderer SDL_Renderer SDL_Texture return void int return return SDL_RWops return SDL_RWops return SDL_RWops return SDL_RWops return SDL_RWops Uint16 return SDL_RWops Uint32 return SDL_RWops Uint64 return const char unsigned int unsigned int unsigned int unsigned int Uint32 return SDL_Window SDL_Surface SDL_WindowShapeMode return size_t return void size_t return const char return void size_t size_t int(*) d int return int return int size_t return size_t return const wchar_t return const wchar_t size_t return const char size_t return const char size_t return char return char return const char int return int char int return long char int return Sint64 char int return const char return const char char int return const char char int return const char char return const char const char size_t return const char const char size_t return double return double return double return double return double return double return double int return float return const char const char return SDL_iconv_t const char size_t char size_t return Uint32 int int int Uint32 Uint32 Uint32 Uint32 return SDL_Surface SDL_Surface return SDL_RWops int return SDL_Surface int return SDL_Surface Uint32 return SDL_Surface Uint8 Uint8 Uint8 return SDL_Surface Uint8 return SDL_Surface SDL_BlendMode return SDL_Surface SDL_Rect SDL_Surface Uint32 Uint32 return SDL_Surface const SDL_Rect Uint32 return SDL_Surface const SDL_Rect SDL_Surface SDL_Rect return SDL_Surface const SDL_Rect SDL_Surface const SDL_Rect return SDL_Surface SDL_Rect SDL_Surface SDL_Rect return SDL_Thread return SDL_Thread return SDL_Thread int return SDL_TLSID const void void(*) return return Uint32 SDL_TimerID return int return SDL_TouchID int return return return const char return return int return int return int SDL_DisplayMode return int const SDL_DisplayMode SDL_DisplayMode return SDL_Window const SDL_DisplayMode return SDL_Window return const void return Uint32 return SDL_Window const char SDL_Window SDL_Surface SDL_Window const char return SDL_Window int int SDL_Window int int SDL_Window int int SDL_Window int int SDL_Window SDL_Window SDL_Window SDL_Window Uint32 return SDL_Window return SDL_Window SDL_bool SDL_Window float return SDL_Window const Uint16 const Uint16 const Uint16 |
Definition at line 169 of file SDL_stdinc.h.
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 SDL_AssertionHandler void SDL_SpinLock SDL_atomic_t int int return SDL_atomic_t return void void void return void return int return SDL_AudioSpec SDL_AudioSpec return int int return return int SDL_RWops int SDL_AudioSpec Uint8 Uint32 return SDL_AudioCVT SDL_AudioFormat Uint8 int SDL_AudioFormat Uint8 int return Uint8 const Uint8 Uint32 int const char return return return return return return return return Uint32 return Uint32 SDL_Event return SDL_Event int return SDL_EventFilter void SDL_EventFilter void SDL_EventFilter void int return const char const char return SDL_JoystickGUID return int return int return SDL_GameController return int return const char return SDL_GameController SDL_GameControllerAxis return const char return SDL_GameController SDL_GameControllerButton return SDL_GameController SDL_RWops return SDL_TouchID SDL_RWops return int return int return return SDL_Joystick return SDL_Haptic SDL_Haptic return SDL_Haptic return SDL_Haptic SDL_HapticEffect return SDL_Haptic int Uint32 return SDL_Haptic int SDL_Haptic int return SDL_Haptic return SDL_Haptic return SDL_Haptic return SDL_Haptic return const char const char return const char SDL_HintCallback void int return SDL_Joystick return SDL_Joystick return const char return SDL_Joystick return SDL_Joystick return SDL_Joystick return int return SDL_Joystick int return SDL_Joystick int return return return SDL_Scancode return SDL_Scancode return SDL_Keycode return return const char return void int SDL_LogPriority SDL_LogOutputFunction void Uint32 const char const char SDL_Window return int int return SDL_Window int int return SDL_Surface int int return SDL_Cursor return int return SDL_mutex return SDL_mutex return Uint32 return SDL_sem return SDL_sem Uint32 return SDL_sem return SDL_cond SDL_cond return SDL_cond SDL_mutex Uint32 return Uint32 int Uint32 Uint32 Uint32 Uint32 return Uint32 return int return SDL_Palette const SDL_Color int int return const SDL_PixelFormat Uint8 Uint8 Uint8 return Uint32 const SDL_PixelFormat Uint8 Uint8 Uint8 float Uint16 int int return const SDL_Rect const SDL_Rect SDL_Rect return const SDL_Point int const SDL_Rect SDL_Rect return return int int Uint32 SDL_Window SDL_Renderer return SDL_Surface return SDL_Renderer SDL_RendererInfo return SDL_Renderer Uint32 int int int return SDL_Texture Uint32 int int int return SDL_Texture Uint8 Uint8 Uint8 return SDL_Texture Uint8 return SDL_Texture SDL_BlendMode return SDL_Texture const SDL_Rect const Uint8 int const Uint8 int const Uint8 int return SDL_Texture SDL_Renderer SDL_Texture return SDL_Renderer int int return SDL_Renderer const SDL_Rect return SDL_Renderer const SDL_Rect return SDL_Renderer float float return SDL_Renderer Uint8 Uint8 Uint8 Uint8 return SDL_Renderer SDL_BlendMode return SDL_Renderer return SDL_Renderer const SDL_Point int return SDL_Renderer const SDL_Point int return SDL_Renderer const SDL_Rect int return SDL_Renderer const SDL_Rect int return SDL_Renderer SDL_Texture const SDL_Rect const SDL_Rect const double const SDL_Point const SDL_RendererFlip return SDL_Renderer SDL_Renderer SDL_Texture return void int return return SDL_RWops return SDL_RWops return SDL_RWops return SDL_RWops return SDL_RWops Uint16 return SDL_RWops Uint32 return SDL_RWops Uint64 return const char unsigned int unsigned int unsigned int unsigned int Uint32 return SDL_Window SDL_Surface SDL_WindowShapeMode return size_t return void size_t return const char return void size_t size_t int(*) e int return int return int size_t return size_t return const wchar_t return const wchar_t size_t return const char size_t return const char size_t return char return char return const char int return int char int return long char int return Sint64 char int return const char return const char char int return const char char int return const char char return const char const char size_t return const char const char size_t return double return double return double return double return double return double return double int return float return const char const char return SDL_iconv_t const char size_t char size_t return Uint32 int int int Uint32 Uint32 Uint32 Uint32 return SDL_Surface SDL_Surface return SDL_RWops int return SDL_Surface int return SDL_Surface Uint32 return SDL_Surface Uint8 Uint8 Uint8 return SDL_Surface Uint8 return SDL_Surface SDL_BlendMode return SDL_Surface SDL_Rect SDL_Surface Uint32 Uint32 return SDL_Surface const SDL_Rect Uint32 return SDL_Surface const SDL_Rect SDL_Surface SDL_Rect return SDL_Surface const SDL_Rect SDL_Surface const SDL_Rect return SDL_Surface SDL_Rect SDL_Surface SDL_Rect return SDL_Thread return SDL_Thread return SDL_Thread int return SDL_TLSID const void void(*) return return Uint32 SDL_TimerID return int return SDL_TouchID int return return return const char return return int return int return int SDL_DisplayMode return int const SDL_DisplayMode SDL_DisplayMode return SDL_Window const SDL_DisplayMode return SDL_Window return const void return Uint32 return SDL_Window const char SDL_Window SDL_Surface SDL_Window const char return SDL_Window int int SDL_Window int int SDL_Window int int SDL_Window int int SDL_Window SDL_Window SDL_Window SDL_Window Uint32 return SDL_Window return SDL_Window SDL_bool SDL_Window float return SDL_Window const Uint16 const Uint16 const Uint16 return SDL_Window const char return SDL_GLattr int return SDL_Window return return SDL_Window int int return SDL_GLContext SDL_RWops int return return void return int int return double return SDL_bool return int int return SDL_AudioDeviceID const void Uint32 return SDL_AudioDeviceID int float float float return SDL_JoystickID return int SDL_Rect return SDL_Window float return SDL_Window return SDL_Renderer SDL_bool return SDL_AudioDeviceID void Uint32 return Uint32 int int int Uint32 |
Definition at line 181 of file SDL_stdinc.h.
Definition at line 194 of file SDL_stdinc.h.
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 SDL_AssertionHandler void SDL_SpinLock SDL_atomic_t int int return SDL_atomic_t return void void void return void return int return SDL_AudioSpec SDL_AudioSpec return int int return return int SDL_RWops int SDL_AudioSpec Uint8 Uint32 return SDL_AudioCVT SDL_AudioFormat Uint8 int SDL_AudioFormat Uint8 int return Uint8 const Uint8 Uint32 int const char return return return return return return return return Uint32 return Uint32 SDL_Event return SDL_Event int return SDL_EventFilter void SDL_EventFilter void SDL_EventFilter void int return const char const char return SDL_JoystickGUID return int return int return SDL_GameController return int return const char return SDL_GameController SDL_GameControllerAxis return const char return SDL_GameController SDL_GameControllerButton return SDL_GameController SDL_RWops return SDL_TouchID SDL_RWops return int return int return return SDL_Joystick return SDL_Haptic SDL_Haptic return SDL_Haptic return SDL_Haptic SDL_HapticEffect return SDL_Haptic int Uint32 return SDL_Haptic int SDL_Haptic int return SDL_Haptic return SDL_Haptic return SDL_Haptic return SDL_Haptic return const char const char return const char SDL_HintCallback void int return SDL_Joystick return SDL_Joystick return const char return SDL_Joystick return SDL_Joystick return SDL_Joystick return int return SDL_Joystick int return SDL_Joystick int return return return SDL_Scancode return SDL_Scancode return SDL_Keycode return return const char return void int SDL_LogPriority SDL_LogOutputFunction void Uint32 const char const char SDL_Window return int int return SDL_Window int int return SDL_Surface int int return SDL_Cursor return int return SDL_mutex return SDL_mutex return Uint32 return SDL_sem return SDL_sem Uint32 return SDL_sem return SDL_cond SDL_cond return SDL_cond SDL_mutex Uint32 return Uint32 int Uint32 Uint32 Uint32 Uint32 return Uint32 return int return SDL_Palette const SDL_Color int int return const SDL_PixelFormat Uint8 Uint8 Uint8 return Uint32 const SDL_PixelFormat Uint8 Uint8 Uint8 float Uint16 int int return const SDL_Rect const SDL_Rect SDL_Rect return const SDL_Point int const SDL_Rect SDL_Rect return return int int Uint32 SDL_Window SDL_Renderer return SDL_Surface return SDL_Renderer SDL_RendererInfo return SDL_Renderer Uint32 int int int return SDL_Texture Uint32 int int int return SDL_Texture Uint8 Uint8 Uint8 return SDL_Texture Uint8 return SDL_Texture SDL_BlendMode return SDL_Texture const SDL_Rect const Uint8 int const Uint8 int const Uint8 int return SDL_Texture SDL_Renderer SDL_Texture return SDL_Renderer int int return SDL_Renderer const SDL_Rect return SDL_Renderer const SDL_Rect return SDL_Renderer float float return SDL_Renderer Uint8 Uint8 Uint8 Uint8 return SDL_Renderer SDL_BlendMode return SDL_Renderer return SDL_Renderer const SDL_Point int return SDL_Renderer const SDL_Point int return SDL_Renderer const SDL_Rect int return SDL_Renderer const SDL_Rect int return SDL_Renderer SDL_Texture const SDL_Rect const SDL_Rect const double const SDL_Point const SDL_RendererFlip return SDL_Renderer SDL_Renderer SDL_Texture return void int return return SDL_RWops return SDL_RWops return SDL_RWops return SDL_RWops return SDL_RWops Uint16 return SDL_RWops Uint32 return SDL_RWops Uint64 return const char unsigned int unsigned int unsigned int unsigned int Uint32 return SDL_Window SDL_Surface SDL_WindowShapeMode return size_t return void size_t return const char return void size_t size_t int(*) b int return int return int size_t return size_t return const wchar_t return const wchar_t size_t return const char size_t return const char size_t return char return char return const char int return int char int return long char int return Sint64 char int return const char return const char char int return const char char int return const char char return const char const char size_t return const char const char size_t return double return double return double return double return double return double return double int return float return const char const char return SDL_iconv_t const char size_t char size_t return Uint32 int int int Uint32 Uint32 Uint32 Uint32 return SDL_Surface SDL_Surface return SDL_RWops int return SDL_Surface int return SDL_Surface Uint32 return SDL_Surface Uint8 Uint8 Uint8 return SDL_Surface Uint8 |
Definition at line 157 of file SDL_stdinc.h.
enum SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 SDL_AssertionHandler void SDL_SpinLock SDL_atomic_t int int return SDL_atomic_t return void void void return void return int return SDL_AudioSpec SDL_AudioSpec return int int return return int SDL_RWops int SDL_AudioSpec Uint8 Uint32 return SDL_AudioCVT SDL_AudioFormat Uint8 int SDL_AudioFormat Uint8 int return Uint8 const Uint8 Uint32 int const char return return return return return return return return Uint32 return Uint32 SDL_Event return SDL_Event int return SDL_EventFilter void SDL_EventFilter void SDL_EventFilter void int return const char const char return SDL_JoystickGUID return int return int return SDL_GameController return int return const char return SDL_GameController SDL_GameControllerAxis return const char return SDL_GameController SDL_GameControllerButton return SDL_GameController SDL_RWops return SDL_TouchID SDL_RWops return int return int return return SDL_Joystick return SDL_Haptic SDL_Haptic return SDL_Haptic return SDL_Haptic SDL_HapticEffect return SDL_Haptic int Uint32 return SDL_Haptic int SDL_Haptic int return SDL_Haptic return SDL_Haptic return SDL_Haptic return SDL_Haptic return const char const char return const char SDL_HintCallback void int return SDL_Joystick return SDL_Joystick return const char return SDL_Joystick return SDL_Joystick return SDL_Joystick return int return SDL_Joystick int return SDL_Joystick int return return return SDL_Scancode return SDL_Scancode return SDL_Keycode return return const char return void int SDL_LogPriority SDL_LogOutputFunction void Uint32 const char const char SDL_Window return int int return SDL_Window int int return SDL_Surface int int return SDL_Cursor return int return SDL_mutex return SDL_mutex return Uint32 return SDL_sem return SDL_sem Uint32 return SDL_sem return SDL_cond SDL_cond return SDL_cond SDL_mutex Uint32 return Uint32 int Uint32 Uint32 Uint32 Uint32 return Uint32 return int return SDL_Palette const SDL_Color int int return const SDL_PixelFormat Uint8 Uint8 Uint8 return Uint32 const SDL_PixelFormat Uint8 Uint8 Uint8 float Uint16 int int return const SDL_Rect const SDL_Rect SDL_Rect return const SDL_Point int const SDL_Rect SDL_Rect return return int int Uint32 SDL_Window SDL_Renderer return SDL_Surface return SDL_Renderer SDL_RendererInfo return SDL_Renderer Uint32 int int int return SDL_Texture Uint32 int int int return SDL_Texture Uint8 Uint8 Uint8 return SDL_Texture Uint8 return SDL_Texture SDL_BlendMode return SDL_Texture const SDL_Rect const Uint8 int const Uint8 int const Uint8 int return SDL_Texture SDL_Renderer SDL_Texture return SDL_Renderer int int return SDL_Renderer const SDL_Rect return SDL_Renderer const SDL_Rect return SDL_Renderer float float return SDL_Renderer Uint8 Uint8 Uint8 Uint8 return SDL_Renderer SDL_BlendMode return SDL_Renderer return SDL_Renderer const SDL_Point int return SDL_Renderer const SDL_Point int return SDL_Renderer const SDL_Rect int return SDL_Renderer const SDL_Rect int return SDL_Renderer SDL_Texture const SDL_Rect const SDL_Rect const double const SDL_Point const SDL_RendererFlip return SDL_Renderer SDL_Renderer SDL_Texture return void int return return SDL_RWops return SDL_RWops return SDL_RWops return SDL_RWops return SDL_RWops Uint16 return SDL_RWops Uint32 return SDL_RWops Uint64 return const char unsigned int unsigned int unsigned int unsigned int Uint32 return SDL_Window SDL_Surface SDL_WindowShapeMode return size_t return void size_t return const char return void size_t size_t int(*) b int return int return int size_t return size_t return const wchar_t return const wchar_t size_t return const char size_t return const char size_t return char return char return const char int return int char int return long char int return Sint64 char int return const char return const char char int return const char char int return const char char return const char const char size_t return const char const char size_t return double return double return double return double return double return double return double int return float return const char const char return SDL_iconv_t const char size_t char size_t return Uint32 int int int Uint32 Uint32 Uint32 Uint32 return SDL_Surface SDL_Surface return SDL_RWops int return SDL_Surface int return SDL_Surface Uint32 return SDL_Surface Uint8 Uint8 Uint8 return SDL_Surface Uint8 return SDL_Surface SDL_BlendMode return SDL_Surface SDL_Rect SDL_Surface Uint32 Uint32 return SDL_Surface const SDL_Rect Uint32 return SDL_Surface const SDL_Rect SDL_Surface SDL_Rect return SDL_Surface const SDL_Rect SDL_Surface const SDL_Rect return SDL_Surface SDL_Rect SDL_Surface SDL_Rect return SDL_Thread return SDL_Thread return SDL_Thread int return SDL_TLSID const void void(*) return return Uint32 SDL_TimerID return int return SDL_TouchID int return return return const char return return int return int return int SDL_DisplayMode return int const SDL_DisplayMode SDL_DisplayMode return SDL_Window const SDL_DisplayMode return SDL_Window return const void return Uint32 return SDL_Window const char SDL_Window SDL_Surface SDL_Window const char return SDL_Window int int SDL_Window int int SDL_Window int int SDL_Window int int SDL_Window SDL_Window SDL_Window SDL_Window Uint32 return SDL_Window return SDL_Window SDL_bool SDL_Window float return SDL_Window const Uint16 const Uint16 const Uint16 return SDL_Window const char return SDL_GLattr int return SDL_Window return return SDL_Window int int return SDL_GLContext SDL_RWops int return return void return int int return double return SDL_bool return int int return SDL_AudioDeviceID const void Uint32 return SDL_AudioDeviceID int float float float return SDL_JoystickID return int SDL_Rect return SDL_Window float return SDL_Window return SDL_Renderer SDL_bool return SDL_AudioDeviceID void Uint32 return Uint32 int int int Uint32 return const char SDL_bool |
Enumerator | |
---|---|
SDL_FALSE | |
SDL_TRUE |
Definition at line 139 of file SDL_stdinc.h.
int SDL_abs | ( | int | x | ) |
Definition at line 409 of file SDL_stdlib.c.
References SDL_isdigit(), SDL_isspace(), SDL_tolower(), and SDL_toupper().
double SDL_acos | ( | double | x | ) |
Definition at line 75 of file SDL_stdlib.c.
References SDL_atan(), and SDL_sqrt().
Referenced by SDL_acosf(), SDL_asin(), and SDL_memset4().
float SDL_acosf | ( | float | x | ) |
double SDL_asin | ( | double | x | ) |
Definition at line 105 of file SDL_stdlib.c.
References SDL_acos().
Referenced by SDL_asinf(), and SDL_memset4().
float SDL_asinf | ( | float | x | ) |
double SDL_atan | ( | double | x | ) |
Definition at line 35 of file SDL_stdlib.c.
References atan(), and SDL_uclibc_atan().
Referenced by SDL_acos(), SDL_atanf(), and SDL_memset4().
double SDL_atan2 | ( | double | x, |
double | y | ||
) |
Definition at line 55 of file SDL_stdlib.c.
References SDL_uclibc_atan2().
Referenced by SDL_atan2f(), and SDL_memset4().
float SDL_atan2f | ( | float | x, |
float | y | ||
) |
float SDL_atanf | ( | float | x | ) |
double SDL_atof | ( | const char * | str | ) |
Definition at line 802 of file SDL_string.c.
References NULL, and SDL_strtod().
Referenced by SDL_memset4().
int SDL_atoi | ( | const char * | str | ) |
Definition at line 793 of file SDL_string.c.
References NULL, and SDL_strtol().
Referenced by SDL_memset4().
Definition at line 5335 of file SDL_malloc.c.
References s_mem, and SDL_AtomicIncRef.
double SDL_ceil | ( | double | x | ) |
Definition at line 131 of file SDL_stdlib.c.
References SDL_floor().
Referenced by SDL_ceilf(), and SDL_memset4().
float SDL_ceilf | ( | float | x | ) |
double SDL_copysign | ( | double | x, |
double | y | ||
) |
Definition at line 156 of file SDL_stdlib.c.
References copysign(), and SDL_uclibc_copysign().
Referenced by SDL_copysignf(), and SDL_memset4().
float SDL_copysignf | ( | float | x, |
float | y | ||
) |
Definition at line 174 of file SDL_stdlib.c.
References SDL_copysign().
Referenced by SDL_memset4().
double SDL_cos | ( | double | x | ) |
Definition at line 184 of file SDL_stdlib.c.
References cos(), and SDL_uclibc_cos().
Referenced by SDL_cosf(), and SDL_memset4().
float SDL_cosf | ( | float | x | ) |
double SDL_fabs | ( | double | x | ) |
Definition at line 204 of file SDL_stdlib.c.
References fabs(), and SDL_uclibc_fabs().
Referenced by SDL_fabsf(), and SDL_memset4().
float SDL_fabsf | ( | float | x | ) |
double SDL_floor | ( | double | x | ) |
Definition at line 224 of file SDL_stdlib.c.
References floor(), and SDL_uclibc_floor().
Referenced by SDL_ceil(), SDL_floorf(), and SDL_memset4().
float SDL_floorf | ( | float | x | ) |
double SDL_fmod | ( | double | x, |
double | y | ||
) |
Definition at line 244 of file SDL_stdlib.c.
References SDL_uclibc_fmod().
Referenced by SDL_fmodf(), and SDL_memset4().
float SDL_fmodf | ( | float | x, |
float | y | ||
) |
Definition at line 5366 of file SDL_malloc.c.
References s_mem, SDL_AtomicDecRef, and void.
char* SDL_getenv | ( | const char * | name | ) |
Definition at line 219 of file SDL_getenv.c.
References i, main, NULL, SDL_setenv(), SDL_strcmp, SDL_strlen, and SDL_strncmp.
Referenced by SDL_setenv().
void SDL_GetMemoryFunctions | ( | SDL_malloc_func * | malloc_func, |
SDL_calloc_func * | calloc_func, | ||
SDL_realloc_func * | realloc_func, | ||
SDL_free_func * | free_func | ||
) |
Get the current set of SDL memory functions.
Definition at line 5271 of file SDL_malloc.c.
References s_mem.
int SDL_GetNumAllocations | ( | void | ) |
Get the number of outstanding (unfreed) allocations.
Definition at line 5315 of file SDL_malloc.c.
References s_mem, and SDL_AtomicGet.
size_t SDL_iconv | ( | SDL_iconv_t | cd, |
const char ** | inbuf, | ||
size_t * | inbytesleft, | ||
char ** | outbuf, | ||
size_t * | outbytesleft | ||
) |
Definition at line 248 of file SDL_iconv.c.
References ENCODING_ASCII, ENCODING_LATIN1, ENCODING_UCS2BE, ENCODING_UCS2LE, ENCODING_UCS4BE, ENCODING_UCS4LE, ENCODING_UTF16, ENCODING_UTF16BE, ENCODING_UTF16LE, ENCODING_UTF16NATIVE, ENCODING_UTF32, ENCODING_UTF32BE, ENCODING_UTF32LE, ENCODING_UTF32NATIVE, ENCODING_UTF8, SDL_FALSE, SDL_ICONV_E2BIG, SDL_ICONV_EINVAL, SDL_TRUE, UNICODE_BOM, UNKNOWN_ASCII, and UNKNOWN_UNICODE.
Referenced by SDL_iconv_string().
int SDL_iconv_close | ( | SDL_iconv_t | cd | ) |
SDL_iconv_t SDL_iconv_open | ( | const char * | tocode, |
const char * | fromcode | ||
) |
Definition at line 208 of file SDL_iconv.c.
References SDL_iconv_t::dst_fmt, ENCODING_UNKNOWN, encodings, getlocale(), i, SDL_arraysize, SDL_malloc, SDL_strcasecmp, and SDL_iconv_t::src_fmt.
Referenced by SDL_iconv_string().
char* SDL_iconv_string | ( | const char * | tocode, |
const char * | fromcode, | ||
const char * | inbuf, | ||
size_t | inbytesleft | ||
) |
This function converts a string between encodings in one pass, returning a string that must be freed with SDL_free() or NULL on error.
Definition at line 865 of file SDL_iconv.c.
References NULL, SDL_iconv(), SDL_iconv_close(), SDL_ICONV_E2BIG, SDL_ICONV_EILSEQ, SDL_ICONV_EINVAL, SDL_ICONV_ERROR, SDL_iconv_open(), SDL_malloc, SDL_memset, and SDL_realloc.
int SDL_isdigit | ( | int | x | ) |
int SDL_isspace | ( | int | x | ) |
char* SDL_itoa | ( | int | value, |
char * | str, | ||
int | radix | ||
) |
char* SDL_lltoa | ( | Sint64 | value, |
char * | str, | ||
int | radix | ||
) |
Definition at line 750 of file SDL_string.c.
References SDL_ulltoa().
Referenced by SDL_memset4(), and SDL_PrintLongLong().
double SDL_log | ( | double | x | ) |
Definition at line 264 of file SDL_stdlib.c.
References SDL_uclibc_log().
Referenced by SDL_logf(), and SDL_memset4().
double SDL_log10 | ( | double | x | ) |
Definition at line 284 of file SDL_stdlib.c.
References SDL_uclibc_log10().
Referenced by SDL_log10f(), and SDL_memset4().
float SDL_log10f | ( | float | x | ) |
float SDL_logf | ( | float | x | ) |
char* SDL_ltoa | ( | long | value, |
char * | str, | ||
int | radix | ||
) |
Definition at line 706 of file SDL_string.c.
References SDL_ultoa().
Referenced by SDL_itoa(), SDL_memset4(), and SDL_PrintLong().
Definition at line 5320 of file SDL_malloc.c.
References s_mem, and SDL_AtomicIncRef.
Definition at line 387 of file SDL_string.c.
Referenced by SDL_memset4().
void* SDL_memcpy | ( | SDL_OUT_BYTECAP(len) void * | dst, |
SDL_IN_BYTECAP(len) const void * | src, | ||
size_t | len | ||
) |
Definition at line 310 of file SDL_string.c.
References memcpy.
Referenced by SDL_memcpy4(), SDL_memset4(), SDL_strdup(), SDL_strlcpy(), SDL_utf8strlcpy(), and SDL_wcslcpy().
SDL_FORCE_INLINE void* SDL_memcpy4 | ( | SDL_OUT_BYTECAP(dwords *4) void * | dst, |
SDL_IN_BYTECAP(dwords *4) const void * | src, | ||
size_t | dwords | ||
) |
Definition at line 592 of file SDL_stdinc.h.
References SDL_memcpy().
void* SDL_memmove | ( | SDL_OUT_BYTECAP(len) void * | dst, |
SDL_IN_BYTECAP(len) const void * | src, | ||
size_t | len | ||
) |
void* SDL_memset | ( | SDL_OUT_BYTECAP(len) void * | dst, |
int | c, | ||
size_t | len | ||
) |
SDL_FORCE_INLINE void SDL_memset4 | ( | void * | dst, |
Uint32 | val, | ||
size_t | dwords | ||
) |
Definition at line 420 of file SDL_stdinc.h.
References DECLSPEC, SDL_acos(), SDL_acosf(), SDL_asin(), SDL_asinf(), SDL_atan(), SDL_atan2(), SDL_atan2f(), SDL_atanf(), SDL_atof(), SDL_atoi(), SDL_ceil(), SDL_ceilf(), SDL_copysign(), SDL_copysignf(), SDL_cos(), SDL_cosf(), SDL_fabs(), SDL_fabsf(), SDL_floor(), SDL_floorf(), SDL_fmod(), SDL_fmodf(), SDL_IN_BYTECAP, SDL_INOUT_Z_CAP, SDL_itoa(), SDL_lltoa(), SDL_log(), SDL_log10(), SDL_log10f(), SDL_logf(), SDL_ltoa(), SDL_memcmp(), SDL_memcpy(), SDL_memmove(), SDL_OUT_BYTECAP, SDL_OUT_Z_CAP, SDL_pow(), SDL_powf(), SDL_PRINTF_FORMAT_STRING, SDL_PRINTF_VARARG_FUNC, SDL_scalbn(), SDL_scalbnf(), SDL_SCANF_FORMAT_STRING, SDL_SCANF_VARARG_FUNC, SDL_sin(), SDL_sinf(), SDL_snprintf(), SDL_sqrt(), SDL_sqrtf(), SDL_sscanf(), SDL_static_cast, SDL_strcasecmp(), SDL_strchr(), SDL_strcmp(), SDL_strdup(), SDL_strlcat(), SDL_strlcpy(), SDL_strlen(), SDL_strlwr(), SDL_strncasecmp(), SDL_strncmp(), SDL_strrchr(), SDL_strrev(), SDL_strstr(), SDL_strtod(), SDL_strtol(), SDL_strtoll(), SDL_strtoul(), SDL_strtoull(), SDL_strupr(), SDL_tan(), SDL_tanf(), SDL_uitoa(), SDL_ulltoa(), SDL_ultoa(), SDL_utf8strlcpy(), SDL_utf8strlen(), SDL_vsnprintf(), SDL_vsscanf(), SDL_wcscmp(), SDL_wcslcat(), SDL_wcslcpy(), SDL_wcslen(), SDLCALL, and text.
Referenced by SDL_FillRect1(), SDL_FillRect2(), and SDL_FillRect4().
double SDL_pow | ( | double | x, |
double | y | ||
) |
Definition at line 304 of file SDL_stdlib.c.
References SDL_uclibc_pow().
Referenced by SDL_memset4(), and SDL_powf().
float SDL_powf | ( | float | x, |
float | y | ||
) |
void SDL_qsort | ( | void * | base, |
size_t | nmemb, | ||
size_t | size, | ||
int(*)(const void *, const void *) | compare | ||
) |
Definition at line 5351 of file SDL_malloc.c.
References s_mem, and SDL_AtomicIncRef.
double SDL_scalbn | ( | double | x, |
int | n | ||
) |
Definition at line 324 of file SDL_stdlib.c.
References scalbn, and SDL_uclibc_scalbn().
Referenced by SDL_memset4(), and SDL_scalbnf().
float SDL_scalbnf | ( | float | x, |
int | n | ||
) |
int SDL_setenv | ( | const char * | name, |
const char * | value, | ||
int | overwrite | ||
) |
Definition at line 110 of file SDL_getenv.c.
References Android_JNI_GetManifestEnvironmentVariables(), i, NULL, SDL_free, SDL_getenv(), SDL_malloc, SDL_realloc, SDL_snprintf, SDL_strchr, SDL_strlen, and SDL_strncmp.
Referenced by SDL_getenv().
int SDL_SetMemoryFunctions | ( | SDL_malloc_func | malloc_func, |
SDL_calloc_func | calloc_func, | ||
SDL_realloc_func | realloc_func, | ||
SDL_free_func | free_func | ||
) |
Replace SDL's memory allocation functions with a custom set.
Definition at line 5290 of file SDL_malloc.c.
References calloc_func, free_func, malloc_func, realloc_func, s_mem, and SDL_InvalidParamError.
double SDL_sin | ( | double | x | ) |
Definition at line 350 of file SDL_stdlib.c.
References SDL_uclibc_sin(), and sin().
Referenced by SDL_memset4(), and SDL_sinf().
float SDL_sinf | ( | float | x | ) |
int SDL_snprintf | ( | SDL_OUT_Z_CAP(maxlen) char * | text, |
size_t | maxlen, | ||
SDL_PRINTF_FORMAT_STRING const char * | fmt, | ||
... | |||
) |
Definition at line 1310 of file SDL_string.c.
References retval, SDL_OUT_Z_CAP, and SDL_vsnprintf().
Referenced by SDL_memset4().
double SDL_sqrt | ( | double | x | ) |
Definition at line 370 of file SDL_stdlib.c.
References SDL_uclibc_sqrt().
Referenced by SDL_acos(), SDL_memset4(), and SDL_sqrtf().
float SDL_sqrtf | ( | float | x | ) |
int SDL_sscanf | ( | const char * | text, |
SDL_SCANF_FORMAT_STRING const char * | fmt, | ||
... | |||
) |
Definition at line 1018 of file SDL_string.c.
References SDL_vsscanf(), and text.
Referenced by SDL_memset4().
int SDL_strcasecmp | ( | const char * | str1, |
const char * | str2 | ||
) |
char* SDL_strchr | ( | const char * | str, |
int | c | ||
) |
Definition at line 622 of file SDL_string.c.
References NULL, and SDL_const_cast.
Referenced by SDL_memset4().
int SDL_strcmp | ( | const char * | str1, |
const char * | str2 | ||
) |
Definition at line 929 of file SDL_string.c.
Referenced by SDL_memset4().
char* SDL_strdup | ( | const char * | str | ) |
Definition at line 562 of file SDL_string.c.
References SDL_malloc, SDL_memcpy(), and SDL_strlen().
Referenced by SDL_memset4().
size_t SDL_strlcat | ( | SDL_INOUT_Z_CAP(maxlen) char * | dst, |
const char * | src, | ||
size_t | maxlen | ||
) |
Definition at line 547 of file SDL_string.c.
References SDL_strlcpy(), and SDL_strlen().
Referenced by SDL_memset4().
size_t SDL_strlcpy | ( | SDL_OUT_Z_CAP(maxlen) char * | dst, |
const char * | src, | ||
size_t | maxlen | ||
) |
Definition at line 481 of file SDL_string.c.
References SDL_memcpy(), SDL_min, and SDL_strlen().
Referenced by SDL_memset4(), SDL_PrintString(), and SDL_strlcat().
size_t SDL_strlen | ( | const char * | str | ) |
Definition at line 406 of file SDL_string.c.
Referenced by SDL_memset4(), SDL_PrintString(), SDL_strdup(), SDL_strlcat(), SDL_strlcpy(), SDL_strrchr(), SDL_strrev(), SDL_strstr(), SDL_strtol(), SDL_strtoll(), SDL_strtoul(), SDL_strtoull(), and SDL_utf8strlcpy().
char* SDL_strlwr | ( | char * | str | ) |
Definition at line 607 of file SDL_string.c.
References SDL_tolower.
Referenced by SDL_memset4(), and SDL_PrintString().
int SDL_strncasecmp | ( | const char * | str1, |
const char * | str2, | ||
size_t | len | ||
) |
int SDL_strncmp | ( | const char * | str1, |
const char * | str2, | ||
size_t | maxlen | ||
) |
Definition at line 945 of file SDL_string.c.
Referenced by SDL_memset4(), SDL_ScanLong(), SDL_ScanLongLong(), SDL_ScanUintPtrT(), SDL_ScanUnsignedLong(), SDL_ScanUnsignedLongLong(), SDL_strstr(), SDL_strtol(), SDL_strtoll(), SDL_strtoul(), SDL_strtoull(), SDL_vsnprintf(), and SDL_vsscanf().
char* SDL_strrchr | ( | const char * | str, |
int | c | ||
) |
Definition at line 640 of file SDL_string.c.
References NULL, SDL_const_cast, and SDL_strlen().
Referenced by SDL_memset4().
char* SDL_strrev | ( | char * | str | ) |
Definition at line 573 of file SDL_string.c.
References SDL_strlen().
Referenced by SDL_memset4(), SDL_ulltoa(), and SDL_ultoa().
char* SDL_strstr | ( | const char * | haystack, |
const char * | needle | ||
) |
Definition at line 659 of file SDL_string.c.
References NULL, SDL_const_cast, SDL_strlen(), and SDL_strncmp().
Referenced by SDL_memset4().
double SDL_strtod | ( | const char * | str, |
char ** | endp | ||
) |
Definition at line 912 of file SDL_string.c.
References SDL_ScanFloat().
Referenced by SDL_atof(), and SDL_memset4().
long SDL_strtol | ( | const char * | str, |
char ** | endp, | ||
int | base | ||
) |
Definition at line 812 of file SDL_string.c.
References SDL_ScanLong(), SDL_strlen(), and SDL_strncmp().
Referenced by SDL_atoi(), SDL_memset4(), and SDL_vsnprintf().
Sint64 SDL_strtoll | ( | const char * | str, |
char ** | endp, | ||
int | base | ||
) |
Definition at line 862 of file SDL_string.c.
References SDL_ScanLongLong(), SDL_strlen(), and SDL_strncmp().
Referenced by SDL_memset4().
unsigned long SDL_strtoul | ( | const char * | str, |
char ** | endp, | ||
int | base | ||
) |
Definition at line 837 of file SDL_string.c.
References SDL_ScanUnsignedLong(), SDL_strlen(), and SDL_strncmp().
Referenced by SDL_memset4().
Uint64 SDL_strtoull | ( | const char * | str, |
char ** | endp, | ||
int | base | ||
) |
Definition at line 887 of file SDL_string.c.
References SDL_ScanUnsignedLongLong(), SDL_strlen(), and SDL_strncmp().
Referenced by SDL_memset4().
char* SDL_strupr | ( | char * | str | ) |
Definition at line 592 of file SDL_string.c.
References SDL_toupper.
Referenced by SDL_memset4(), and SDL_PrintString().
double SDL_tan | ( | double | x | ) |
Definition at line 390 of file SDL_stdlib.c.
References SDL_uclibc_tan(), and tan().
Referenced by SDL_memset4(), and SDL_tanf().
float SDL_tanf | ( | float | x | ) |
int SDL_tolower | ( | int | x | ) |
int SDL_toupper | ( | int | x | ) |
Definition at line 426 of file SDL_stdlib.c.
Referenced by SDL_abs().
char* SDL_uitoa | ( | unsigned int | value, |
char * | str, | ||
int | radix | ||
) |
char* SDL_ulltoa | ( | Uint64 | value, |
char * | str, | ||
int | radix | ||
) |
Definition at line 769 of file SDL_string.c.
References SDL_strrev().
Referenced by SDL_lltoa(), SDL_memset4(), and SDL_PrintUnsignedLongLong().
char* SDL_ultoa | ( | unsigned long | value, |
char * | str, | ||
int | radix | ||
) |
Definition at line 725 of file SDL_string.c.
References SDL_strrev().
Referenced by SDL_ltoa(), SDL_memset4(), SDL_PrintUnsignedLong(), and SDL_uitoa().
size_t SDL_utf8strlcpy | ( | SDL_OUT_Z_CAP(dst_bytes) char * | dst, |
const char * | src, | ||
size_t | dst_bytes | ||
) |
Definition at line 497 of file SDL_string.c.
References i, SDL_memcpy(), SDL_min, SDL_strlen(), UTF8_IsLeadByte, UTF8_IsTrailingByte, and UTF8_TrailingBytes().
Referenced by SDL_memset4().
size_t SDL_utf8strlen | ( | const char * | str | ) |
int SDL_vsnprintf | ( | SDL_OUT_Z_CAP(maxlen) char * | text, |
size_t | maxlen, | ||
const char * | fmt, | ||
va_list | ap | ||
) |
Definition at line 1524 of file SDL_string.c.
References done, SDL_FormatInfo::force_case, SDL_FormatInfo::force_sign, SDL_FormatInfo::force_type, SDL_FormatInfo::left_justify, SDL_FormatInfo::pad_zeroes, SDL_FormatInfo::precision, SDL_FormatInfo::radix, SDL_CASE_LOWER, SDL_CASE_NOCHANGE, SDL_CASE_UPPER, SDL_FALSE, SDL_free, SDL_iconv_string, SDL_min, SDL_PrintFloat(), SDL_PrintLong(), SDL_PrintLongLong(), SDL_PrintString(), SDL_PrintUnsignedLong(), SDL_PrintUnsignedLongLong(), SDL_strncmp(), SDL_strtol(), SDL_TRUE, SDL_wcslen(), SDL_zero, text, and SDL_FormatInfo::width.
Referenced by SDL_memset4(), and SDL_snprintf().
int SDL_vsscanf | ( | const char * | text, |
const char * | fmt, | ||
va_list | ap | ||
) |
Definition at line 1036 of file SDL_string.c.
References done, retval, SDL_FALSE, SDL_isspace, SDL_ScanFloat(), SDL_ScanLong(), SDL_ScanLongLong(), SDL_ScanUintPtrT(), SDL_ScanUnsignedLong(), SDL_ScanUnsignedLongLong(), SDL_strncmp(), SDL_tolower, SDL_TRUE, and text.
Referenced by SDL_memset4(), and SDL_sscanf().
int SDL_wcscmp | ( | const wchar_t * | str1, |
const wchar_t * | str2 | ||
) |
Definition at line 465 of file SDL_string.c.
Referenced by SDL_memset4().
size_t SDL_wcslcat | ( | SDL_INOUT_Z_CAP(maxlen) wchar_t * | dst, |
const wchar_t * | src, | ||
size_t | maxlen | ||
) |
Definition at line 450 of file SDL_string.c.
References SDL_wcslcpy(), and SDL_wcslen().
Referenced by SDL_memset4().
size_t SDL_wcslcpy | ( | SDL_OUT_Z_CAP(maxlen) wchar_t * | dst, |
const wchar_t * | src, | ||
size_t | maxlen | ||
) |
Definition at line 434 of file SDL_string.c.
References SDL_memcpy(), SDL_min, and SDL_wcslen().
Referenced by SDL_memset4(), and SDL_wcslcat().
size_t SDL_wcslen | ( | const wchar_t * | wstr | ) |
Definition at line 420 of file SDL_string.c.
Referenced by SDL_memset4(), SDL_vsnprintf(), SDL_wcslcat(), and SDL_wcslcpy().