World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл SDL_stdinc.h

См. исходные тексты.

Функции

voidalloca (unsigned)
 
char * alloca ()
 

Basic data types

enum  SDL_bool { SDL_FALSE = 0, SDL_TRUE = 1 }
 
typedef int SDL_bool
 
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
 
typedef void *(SDLCALL * SDL_malloc_func) (size_t size)
 
typedef void *(SDLCALL * SDL_calloc_func) (size_t nmemb, size_t size)
 
typedef void *(SDLCALL * SDL_realloc_func) (void *mem, size_t size)
 
typedef void(SDLCALL * SDL_free_func) (void *mem)
 
typedef struct _SDL_iconv_t * SDL_iconv_t
 
DECLSPEC void *SDLCALL SDL_malloc (size_t size)
 
DECLSPEC void *SDLCALL SDL_calloc (size_t nmemb, size_t size)
 
DECLSPEC void *SDLCALL SDL_realloc (void *mem, size_t size)
 
DECLSPEC void SDLCALL SDL_free (void *mem)
 
DECLSPEC void SDLCALL 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. Подробнее...
 
DECLSPEC int SDLCALL 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. Подробнее...
 
DECLSPEC int SDLCALL SDL_GetNumAllocations (void)
 Get the number of outstanding (unfreed) allocations. Подробнее...
 
DECLSPEC char *SDLCALL SDL_getenv (const char *name)
 
DECLSPEC int SDLCALL SDL_setenv (const char *name, const char *value, int overwrite)
 
DECLSPEC void SDLCALL SDL_qsort (void *base, size_t nmemb, size_t size, int(*compare)(const void *, const void *))
 
DECLSPEC int SDLCALL SDL_abs (int x)
 
DECLSPEC int SDLCALL SDL_isdigit (int x)
 
DECLSPEC int SDLCALL SDL_isspace (int x)
 
DECLSPEC int SDLCALL SDL_isupper (int x)
 
DECLSPEC int SDLCALL SDL_islower (int x)
 
DECLSPEC int SDLCALL SDL_toupper (int x)
 
DECLSPEC int SDLCALL SDL_tolower (int x)
 
DECLSPEC void *SDLCALL 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)
 
DECLSPEC void *SDLCALL SDL_memcpy (SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len)
 
DECLSPEC void *SDLCALL SDL_memmove (SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len)
 
DECLSPEC int SDLCALL SDL_memcmp (const void *s1, const void *s2, size_t len)
 
DECLSPEC size_t SDLCALL SDL_wcslen (const wchar_t *wstr)
 
DECLSPEC size_t SDLCALL SDL_wcslcpy (SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen)
 
DECLSPEC size_t SDLCALL SDL_wcslcat (SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen)
 
DECLSPEC wchar_t *SDLCALL SDL_wcsdup (const wchar_t *wstr)
 
DECLSPEC wchar_t *SDLCALL SDL_wcsstr (const wchar_t *haystack, const wchar_t *needle)
 
DECLSPEC int SDLCALL SDL_wcscmp (const wchar_t *str1, const wchar_t *str2)
 
DECLSPEC int SDLCALL SDL_wcsncmp (const wchar_t *str1, const wchar_t *str2, size_t maxlen)
 
DECLSPEC size_t SDLCALL SDL_strlen (const char *str)
 
DECLSPEC size_t SDLCALL SDL_strlcpy (SDL_OUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen)
 
DECLSPEC size_t SDLCALL SDL_utf8strlcpy (SDL_OUT_Z_CAP(dst_bytes) char *dst, const char *src, size_t dst_bytes)
 
DECLSPEC size_t SDLCALL SDL_strlcat (SDL_INOUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen)
 
DECLSPEC char *SDLCALL SDL_strdup (const char *str)
 
DECLSPEC char *SDLCALL SDL_strrev (char *str)
 
DECLSPEC char *SDLCALL SDL_strupr (char *str)
 
DECLSPEC char *SDLCALL SDL_strlwr (char *str)
 
DECLSPEC char *SDLCALL SDL_strchr (const char *str, int c)
 
DECLSPEC char *SDLCALL SDL_strrchr (const char *str, int c)
 
DECLSPEC char *SDLCALL SDL_strstr (const char *haystack, const char *needle)
 
DECLSPEC char *SDLCALL SDL_strtokr (char *s1, const char *s2, char **saveptr)
 
DECLSPEC size_t SDLCALL SDL_utf8strlen (const char *str)
 
DECLSPEC char *SDLCALL SDL_itoa (int value, char *str, int radix)
 
DECLSPEC char *SDLCALL SDL_uitoa (unsigned int value, char *str, int radix)
 
DECLSPEC char *SDLCALL SDL_ltoa (long value, char *str, int radix)
 
DECLSPEC char *SDLCALL SDL_ultoa (unsigned long value, char *str, int radix)
 
DECLSPEC char *SDLCALL SDL_lltoa (Sint64 value, char *str, int radix)
 
DECLSPEC char *SDLCALL SDL_ulltoa (Uint64 value, char *str, int radix)
 
DECLSPEC int SDLCALL SDL_atoi (const char *str)
 
DECLSPEC double SDLCALL SDL_atof (const char *str)
 
DECLSPEC long SDLCALL SDL_strtol (const char *str, char **endp, int base)
 
DECLSPEC unsigned long SDLCALL SDL_strtoul (const char *str, char **endp, int base)
 
DECLSPEC Sint64 SDLCALL SDL_strtoll (const char *str, char **endp, int base)
 
DECLSPEC Uint64 SDLCALL SDL_strtoull (const char *str, char **endp, int base)
 
DECLSPEC double SDLCALL SDL_strtod (const char *str, char **endp)
 
DECLSPEC int SDLCALL SDL_strcmp (const char *str1, const char *str2)
 
DECLSPEC int SDLCALL SDL_strncmp (const char *str1, const char *str2, size_t maxlen)
 
DECLSPEC int SDLCALL SDL_strcasecmp (const char *str1, const char *str2)
 
DECLSPEC int SDLCALL SDL_strncasecmp (const char *str1, const char *str2, size_t len)
 
DECLSPEC int SDLCALL SDL_sscanf (const char *text, SDL_SCANF_FORMAT_STRING const char *fmt,...) SDL_SCANF_VARARG_FUNC(2)
 
DECLSPEC int SDLCALL SDL_vsscanf (const char *text, const char *fmt, va_list ap)
 
DECLSPEC int SDLCALL SDL_snprintf (SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(3)
 
DECLSPEC int SDLCALL SDL_vsnprintf (SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, const char *fmt, va_list ap)
 
DECLSPEC double SDLCALL SDL_acos (double x)
 
DECLSPEC float SDLCALL SDL_acosf (float x)
 
DECLSPEC double SDLCALL SDL_asin (double x)
 
DECLSPEC float SDLCALL SDL_asinf (float x)
 
DECLSPEC double SDLCALL SDL_atan (double x)
 
DECLSPEC float SDLCALL SDL_atanf (float x)
 
DECLSPEC double SDLCALL SDL_atan2 (double x, double y)
 
DECLSPEC float SDLCALL SDL_atan2f (float x, float y)
 
DECLSPEC double SDLCALL SDL_ceil (double x)
 
DECLSPEC float SDLCALL SDL_ceilf (float x)
 
DECLSPEC double SDLCALL SDL_copysign (double x, double y)
 
DECLSPEC float SDLCALL SDL_copysignf (float x, float y)
 
DECLSPEC double SDLCALL SDL_cos (double x)
 
DECLSPEC float SDLCALL SDL_cosf (float x)
 
DECLSPEC double SDLCALL SDL_exp (double x)
 
DECLSPEC float SDLCALL SDL_expf (float x)
 
DECLSPEC double SDLCALL SDL_fabs (double x)
 
DECLSPEC float SDLCALL SDL_fabsf (float x)
 
DECLSPEC double SDLCALL SDL_floor (double x)
 
DECLSPEC float SDLCALL SDL_floorf (float x)
 
DECLSPEC double SDLCALL SDL_fmod (double x, double y)
 
DECLSPEC float SDLCALL SDL_fmodf (float x, float y)
 
DECLSPEC double SDLCALL SDL_log (double x)
 
DECLSPEC float SDLCALL SDL_logf (float x)
 
DECLSPEC double SDLCALL SDL_log10 (double x)
 
DECLSPEC float SDLCALL SDL_log10f (float x)
 
DECLSPEC double SDLCALL SDL_pow (double x, double y)
 
DECLSPEC float SDLCALL SDL_powf (float x, float y)
 
DECLSPEC double SDLCALL SDL_scalbn (double x, int n)
 
DECLSPEC float SDLCALL SDL_scalbnf (float x, int n)
 
DECLSPEC double SDLCALL SDL_sin (double x)
 
DECLSPEC float SDLCALL SDL_sinf (float x)
 
DECLSPEC double SDLCALL SDL_sqrt (double x)
 
DECLSPEC float SDLCALL SDL_sqrtf (float x)
 
DECLSPEC double SDLCALL SDL_tan (double x)
 
DECLSPEC float SDLCALL SDL_tanf (float x)
 
DECLSPEC SDL_iconv_t SDLCALL SDL_iconv_open (const char *tocode, const char *fromcode)
 
DECLSPEC int SDLCALL SDL_iconv_close (SDL_iconv_t cd)
 
DECLSPEC size_t SDLCALL SDL_iconv (SDL_iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft)
 
DECLSPEC char *SDLCALL SDL_iconv_string (const char *tocode, const char *fromcode, const char *inbuf, size_t inbytesleft)
 
SDL_FORCE_INLINE voidSDL_memcpy4 (SDL_OUT_BYTECAP(dwords *4) void *dst, SDL_IN_BYTECAP(dwords *4) const void *src, size_t dwords)
 

Подробное описание

This is a general header that includes C language support.

См. определение в файле SDL_stdinc.h

Типы

◆ SDL_bool

typedef int SDL_bool

См. определение в файле SDL_stdinc.h строка 159

◆ Sint8

typedef int8_t Sint8

См. определение в файле SDL_stdinc.h строка 173

◆ Uint8

typedef uint8_t Uint8

См. определение в файле SDL_stdinc.h строка 179

◆ Sint16

typedef int16_t Sint16

См. определение в файле SDL_stdinc.h строка 185

◆ Uint16

typedef uint16_t Uint16

См. определение в файле SDL_stdinc.h строка 191

◆ Sint32

typedef int32_t Sint32

См. определение в файле SDL_stdinc.h строка 197

◆ Uint32

typedef uint32_t Uint32

См. определение в файле SDL_stdinc.h строка 203

◆ Sint64

typedef int64_t Sint64

См. определение в файле SDL_stdinc.h строка 210

◆ Uint64

typedef uint64_t Uint64

См. определение в файле SDL_stdinc.h строка 216

◆ SDL_malloc_func

typedef void*(SDLCALL * SDL_malloc_func) (size_t size)

См. определение в файле SDL_stdinc.h строка 366

◆ SDL_calloc_func

typedef void*(SDLCALL * SDL_calloc_func) (size_t nmemb, size_t size)

См. определение в файле SDL_stdinc.h строка 367

◆ SDL_realloc_func

typedef void*(SDLCALL * SDL_realloc_func) (void *mem, size_t size)

См. определение в файле SDL_stdinc.h строка 368

◆ SDL_free_func

typedef void(SDLCALL * SDL_free_func) (void *mem)

См. определение в файле SDL_stdinc.h строка 369

◆ SDL_iconv_t

typedef struct _SDL_iconv_t* SDL_iconv_t

См. определение в файле SDL_stdinc.h строка 556

Перечисления

◆ SDL_bool

enum SDL_bool
Элементы перечислений
SDL_FALSE 
SDL_TRUE 

См. определение в файле SDL_stdinc.h строка 161

162 {
163  SDL_FALSE = 0,
164  SDL_TRUE = 1
165 } SDL_bool;

Функции

◆ alloca() [1/2]

void* alloca ( unsigned  )

◆ alloca() [2/2]

char* alloca ( )

◆ SDL_malloc()

DECLSPEC void* SDLCALL SDL_malloc ( size_t  size)

◆ SDL_calloc()

DECLSPEC void* SDLCALL SDL_calloc ( size_t  nmemb,
size_t  size 
)

◆ SDL_realloc()

DECLSPEC void* SDLCALL SDL_realloc ( void mem,
size_t  size 
)

◆ SDL_free()

DECLSPEC void SDLCALL SDL_free ( void mem)

◆ SDL_GetMemoryFunctions()

DECLSPEC void SDLCALL 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.

◆ SDL_SetMemoryFunctions()

DECLSPEC int SDLCALL 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.

Заметки
If you are replacing SDL's memory functions, you should call SDL_GetNumAllocations() and be very careful if it returns non-zero. That means that your free function will be called with memory allocated by the previous memory allocation functions.

◆ SDL_GetNumAllocations()

DECLSPEC int SDLCALL SDL_GetNumAllocations ( void  )

Get the number of outstanding (unfreed) allocations.

◆ SDL_getenv()

DECLSPEC char* SDLCALL SDL_getenv ( const char *  name)

◆ SDL_setenv()

DECLSPEC int SDLCALL SDL_setenv ( const char *  name,
const char *  value,
int  overwrite 
)

◆ SDL_qsort()

DECLSPEC void SDLCALL SDL_qsort ( void base,
size_t  nmemb,
size_t  size,
int(*)(const void *, const void *)  compare 
)

◆ SDL_abs()

DECLSPEC int SDLCALL SDL_abs ( int  x)

◆ SDL_isdigit()

DECLSPEC int SDLCALL SDL_isdigit ( int  x)

◆ SDL_isspace()

DECLSPEC int SDLCALL SDL_isspace ( int  x)

◆ SDL_isupper()

DECLSPEC int SDLCALL SDL_isupper ( int  x)

◆ SDL_islower()

DECLSPEC int SDLCALL SDL_islower ( int  x)

◆ SDL_toupper()

DECLSPEC int SDLCALL SDL_toupper ( int  x)

◆ SDL_tolower()

DECLSPEC int SDLCALL SDL_tolower ( int  x)

◆ SDL_memset()

DECLSPEC void* SDLCALL SDL_memset ( SDL_OUT_BYTECAP(len) void dst,
int  c,
size_t  len 
)

◆ SDL_memset4()

SDL_FORCE_INLINE void SDL_memset4 ( void dst,
Uint32  val,
size_t  dwords 
)

См. определение в файле SDL_stdinc.h строка 423

424 {
425 #ifdef __APPLE__
426  memset_pattern4(dst, &val, dwords * 4);
427 #elif defined(__GNUC__) && defined(i386)
428  int u0, u1, u2;
429  __asm__ __volatile__ (
430  "cld \n\t"
431  "rep ; stosl \n\t"
432  : "=&D" (u0), "=&a" (u1), "=&c" (u2)
433  : "0" (dst), "1" (val), "2" (SDL_static_cast(Uint32, dwords))
434  : "memory"
435  );
436 #else
437  size_t _n = (dwords + 3) / 4;
438  Uint32 *_p = SDL_static_cast(Uint32 *, dst);
439  Uint32 _val = (val);
440  if (dwords == 0)
441  return;
442  switch (dwords % 4)
443  {
444  case 0: do { *_p++ = _val; /* fallthrough */
445  case 3: *_p++ = _val; /* fallthrough */
446  case 2: *_p++ = _val; /* fallthrough */
447  case 1: *_p++ = _val; /* fallthrough */
448  } while ( --_n );
449  }
450 #endif
451 }

◆ SDL_memcpy()

DECLSPEC void* SDLCALL SDL_memcpy ( SDL_OUT_BYTECAP(len) void dst,
SDL_IN_BYTECAP(len) const void src,
size_t  len 
)

Используется в SDL_memcpy4().

+ Граф вызова функции:

◆ SDL_memmove()

DECLSPEC void* SDLCALL SDL_memmove ( SDL_OUT_BYTECAP(len) void dst,
SDL_IN_BYTECAP(len) const void src,
size_t  len 
)

◆ SDL_memcmp()

DECLSPEC int SDLCALL SDL_memcmp ( const void s1,
const void s2,
size_t  len 
)

◆ SDL_wcslen()

DECLSPEC size_t SDLCALL SDL_wcslen ( const wchar_t *  wstr)

◆ SDL_wcslcpy()

DECLSPEC size_t SDLCALL SDL_wcslcpy ( SDL_OUT_Z_CAP(maxlen) wchar_t *  dst,
const wchar_t *  src,
size_t  maxlen 
)

◆ SDL_wcslcat()

DECLSPEC size_t SDLCALL SDL_wcslcat ( SDL_INOUT_Z_CAP(maxlen) wchar_t *  dst,
const wchar_t *  src,
size_t  maxlen 
)

◆ SDL_wcsdup()

DECLSPEC wchar_t* SDLCALL SDL_wcsdup ( const wchar_t *  wstr)

◆ SDL_wcsstr()

DECLSPEC wchar_t* SDLCALL SDL_wcsstr ( const wchar_t *  haystack,
const wchar_t *  needle 
)

◆ SDL_wcscmp()

DECLSPEC int SDLCALL SDL_wcscmp ( const wchar_t *  str1,
const wchar_t *  str2 
)

◆ SDL_wcsncmp()

DECLSPEC int SDLCALL SDL_wcsncmp ( const wchar_t *  str1,
const wchar_t *  str2,
size_t  maxlen 
)

◆ SDL_strlen()

DECLSPEC size_t SDLCALL SDL_strlen ( const char *  str)

◆ SDL_strlcpy()

DECLSPEC size_t SDLCALL SDL_strlcpy ( SDL_OUT_Z_CAP(maxlen) char *  dst,
const char *  src,
size_t  maxlen 
)

◆ SDL_utf8strlcpy()

DECLSPEC size_t SDLCALL SDL_utf8strlcpy ( SDL_OUT_Z_CAP(dst_bytes) char *  dst,
const char *  src,
size_t  dst_bytes 
)

◆ SDL_strlcat()

DECLSPEC size_t SDLCALL SDL_strlcat ( SDL_INOUT_Z_CAP(maxlen) char *  dst,
const char *  src,
size_t  maxlen 
)

◆ SDL_strdup()

DECLSPEC char* SDLCALL SDL_strdup ( const char *  str)

◆ SDL_strrev()

DECLSPEC char* SDLCALL SDL_strrev ( char *  str)

◆ SDL_strupr()

DECLSPEC char* SDLCALL SDL_strupr ( char *  str)

◆ SDL_strlwr()

DECLSPEC char* SDLCALL SDL_strlwr ( char *  str)

◆ SDL_strchr()

DECLSPEC char* SDLCALL SDL_strchr ( const char *  str,
int  c 
)

◆ SDL_strrchr()

DECLSPEC char* SDLCALL SDL_strrchr ( const char *  str,
int  c 
)

◆ SDL_strstr()

DECLSPEC char* SDLCALL SDL_strstr ( const char *  haystack,
const char *  needle 
)

◆ SDL_strtokr()

DECLSPEC char* SDLCALL SDL_strtokr ( char *  s1,
const char *  s2,
char **  saveptr 
)

◆ SDL_utf8strlen()

DECLSPEC size_t SDLCALL SDL_utf8strlen ( const char *  str)

◆ SDL_itoa()

DECLSPEC char* SDLCALL SDL_itoa ( int  value,
char *  str,
int  radix 
)

◆ SDL_uitoa()

DECLSPEC char* SDLCALL SDL_uitoa ( unsigned int  value,
char *  str,
int  radix 
)

◆ SDL_ltoa()

DECLSPEC char* SDLCALL SDL_ltoa ( long  value,
char *  str,
int  radix 
)

◆ SDL_ultoa()

DECLSPEC char* SDLCALL SDL_ultoa ( unsigned long  value,
char *  str,
int  radix 
)

◆ SDL_lltoa()

DECLSPEC char* SDLCALL SDL_lltoa ( Sint64  value,
char *  str,
int  radix 
)

◆ SDL_ulltoa()

DECLSPEC char* SDLCALL SDL_ulltoa ( Uint64  value,
char *  str,
int  radix 
)

◆ SDL_atoi()

DECLSPEC int SDLCALL SDL_atoi ( const char *  str)

◆ SDL_atof()

DECLSPEC double SDLCALL SDL_atof ( const char *  str)

◆ SDL_strtol()

DECLSPEC long SDLCALL SDL_strtol ( const char *  str,
char **  endp,
int  base 
)

◆ SDL_strtoul()

DECLSPEC unsigned long SDLCALL SDL_strtoul ( const char *  str,
char **  endp,
int  base 
)

◆ SDL_strtoll()

DECLSPEC Sint64 SDLCALL SDL_strtoll ( const char *  str,
char **  endp,
int  base 
)

◆ SDL_strtoull()

DECLSPEC Uint64 SDLCALL SDL_strtoull ( const char *  str,
char **  endp,
int  base 
)

◆ SDL_strtod()

DECLSPEC double SDLCALL SDL_strtod ( const char *  str,
char **  endp 
)

◆ SDL_strcmp()

DECLSPEC int SDLCALL SDL_strcmp ( const char *  str1,
const char *  str2 
)

◆ SDL_strncmp()

DECLSPEC int SDLCALL SDL_strncmp ( const char *  str1,
const char *  str2,
size_t  maxlen 
)

◆ SDL_strcasecmp()

DECLSPEC int SDLCALL SDL_strcasecmp ( const char *  str1,
const char *  str2 
)

◆ SDL_strncasecmp()

DECLSPEC int SDLCALL SDL_strncasecmp ( const char *  str1,
const char *  str2,
size_t  len 
)

◆ SDL_sscanf()

DECLSPEC int SDLCALL SDL_sscanf ( const char *  text,
SDL_SCANF_FORMAT_STRING const char *  fmt,
  ... 
)

◆ SDL_vsscanf()

DECLSPEC int SDLCALL SDL_vsscanf ( const char *  text,
const char *  fmt,
va_list  ap 
)

◆ SDL_snprintf()

DECLSPEC int SDLCALL SDL_snprintf ( SDL_OUT_Z_CAP(maxlen) char *  text,
size_t  maxlen,
SDL_PRINTF_FORMAT_STRING const char *  fmt,
  ... 
)

◆ SDL_vsnprintf()

DECLSPEC int SDLCALL SDL_vsnprintf ( SDL_OUT_Z_CAP(maxlen) char *  text,
size_t  maxlen,
const char *  fmt,
va_list  ap 
)

◆ SDL_acos()

DECLSPEC double SDLCALL SDL_acos ( double  x)

◆ SDL_acosf()

DECLSPEC float SDLCALL SDL_acosf ( float  x)

◆ SDL_asin()

DECLSPEC double SDLCALL SDL_asin ( double  x)

◆ SDL_asinf()

DECLSPEC float SDLCALL SDL_asinf ( float  x)

◆ SDL_atan()

DECLSPEC double SDLCALL SDL_atan ( double  x)

◆ SDL_atanf()

DECLSPEC float SDLCALL SDL_atanf ( float  x)

◆ SDL_atan2()

DECLSPEC double SDLCALL SDL_atan2 ( double  x,
double  y 
)

◆ SDL_atan2f()

DECLSPEC float SDLCALL SDL_atan2f ( float  x,
float  y 
)

◆ SDL_ceil()

DECLSPEC double SDLCALL SDL_ceil ( double  x)

◆ SDL_ceilf()

DECLSPEC float SDLCALL SDL_ceilf ( float  x)

◆ SDL_copysign()

DECLSPEC double SDLCALL SDL_copysign ( double  x,
double  y 
)

◆ SDL_copysignf()

DECLSPEC float SDLCALL SDL_copysignf ( float  x,
float  y 
)

◆ SDL_cos()

DECLSPEC double SDLCALL SDL_cos ( double  x)

◆ SDL_cosf()

DECLSPEC float SDLCALL SDL_cosf ( float  x)

◆ SDL_exp()

DECLSPEC double SDLCALL SDL_exp ( double  x)

◆ SDL_expf()

DECLSPEC float SDLCALL SDL_expf ( float  x)

◆ SDL_fabs()

DECLSPEC double SDLCALL SDL_fabs ( double  x)

◆ SDL_fabsf()

DECLSPEC float SDLCALL SDL_fabsf ( float  x)

◆ SDL_floor()

DECLSPEC double SDLCALL SDL_floor ( double  x)

◆ SDL_floorf()

DECLSPEC float SDLCALL SDL_floorf ( float  x)

◆ SDL_fmod()

DECLSPEC double SDLCALL SDL_fmod ( double  x,
double  y 
)

◆ SDL_fmodf()

DECLSPEC float SDLCALL SDL_fmodf ( float  x,
float  y 
)

◆ SDL_log()

DECLSPEC double SDLCALL SDL_log ( double  x)

◆ SDL_logf()

DECLSPEC float SDLCALL SDL_logf ( float  x)

◆ SDL_log10()

DECLSPEC double SDLCALL SDL_log10 ( double  x)

◆ SDL_log10f()

DECLSPEC float SDLCALL SDL_log10f ( float  x)

◆ SDL_pow()

DECLSPEC double SDLCALL SDL_pow ( double  x,
double  y 
)

◆ SDL_powf()

DECLSPEC float SDLCALL SDL_powf ( float  x,
float  y 
)

◆ SDL_scalbn()

DECLSPEC double SDLCALL SDL_scalbn ( double  x,
int  n 
)

◆ SDL_scalbnf()

DECLSPEC float SDLCALL SDL_scalbnf ( float  x,
int  n 
)

◆ SDL_sin()

DECLSPEC double SDLCALL SDL_sin ( double  x)

◆ SDL_sinf()

DECLSPEC float SDLCALL SDL_sinf ( float  x)

◆ SDL_sqrt()

DECLSPEC double SDLCALL SDL_sqrt ( double  x)

◆ SDL_sqrtf()

DECLSPEC float SDLCALL SDL_sqrtf ( float  x)

◆ SDL_tan()

DECLSPEC double SDLCALL SDL_tan ( double  x)

◆ SDL_tanf()

DECLSPEC float SDLCALL SDL_tanf ( float  x)

◆ SDL_iconv_open()

DECLSPEC SDL_iconv_t SDLCALL SDL_iconv_open ( const char *  tocode,
const char *  fromcode 
)

◆ SDL_iconv_close()

DECLSPEC int SDLCALL SDL_iconv_close ( SDL_iconv_t  cd)

◆ SDL_iconv()

DECLSPEC size_t SDLCALL SDL_iconv ( SDL_iconv_t  cd,
const char **  inbuf,
size_t inbytesleft,
char **  outbuf,
size_t outbytesleft 
)

◆ SDL_iconv_string()

DECLSPEC char* SDLCALL 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.

◆ SDL_memcpy4()

SDL_FORCE_INLINE void* SDL_memcpy4 ( SDL_OUT_BYTECAP(dwords *4) void dst,
SDL_IN_BYTECAP(dwords *4) const void src,
size_t  dwords 
)

См. определение в файле SDL_stdinc.h строка 604

605 {
606  return SDL_memcpy(dst, src, dwords * 4);
607 }

Перекрестные ссылки SDL_memcpy().

+ Граф вызовов:
u1
GLfixed u1
Definition: SDL_opengl_glext.h:4561
u2
GLfixed GLfixed u2
Definition: SDL_opengl_glext.h:4561
SDL_memcpy
DECLSPEC void *SDLCALL SDL_memcpy(SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len)
src
GLenum src
Definition: SDL_opengl_glext.h:1740
SDL_FALSE
@ SDL_FALSE
Definition: SDL_stdinc.h:163
dst
GLenum GLenum dst
Definition: SDL_opengl_glext.h:1740
SDL_bool
SDL_bool
Definition: SDL_stdinc.h:161
val
GLuint GLfloat * val
Definition: SDL_opengl_glext.h:1495
SDL_TRUE
@ SDL_TRUE
Definition: SDL_stdinc.h:164
Uint32
uint32_t Uint32
Definition: SDL_stdinc.h:203