VSF Documented
Macros | Typedefs | Enumerations | Functions
SDL_stdinc.h File Reference
#include "../../vsf_sdl2_cfg.h"
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include "SDL_error.h"
#include "begin_code.h"
#include "close_code.h"

Go to the source code of this file.

Macros

#define SDL_arraysize   dimof
 
#define SDL_TABLESIZE   SDL_arraysize
 
#define SDL_assert   VSF_SDL2_ASSERT
 
#define SDL_free   free
 
#define SDL_malloc   malloc
 
#define SDL_realloc   realloc
 
#define SDL_calloc   calloc
 
#define SDL_memcmp   memcmp
 
#define SDL_atoi   atoi
 
#define SDL_stack_alloc(__type, __count)   (__type*)SDL_malloc(sizeof(__type) * (__count))
 
#define SDL_stack_free(__data)   SDL_free(__data)
 
#define SDL_min   vsf_min
 
#define SDL_max   vsf_max
 
#define SDL_memset   memset
 
#define SDL_memcpy   memcpy
 
#define SDL_strlen   strlen
 
#define SDL_strcmp   strcmp
 
#define SDL_strcasecmp   strcasecmp
 
#define SDL_strlcpy   strlcpy
 
#define SDL_strrchr   strrchr
 
#define SDL_strchr   strchr
 
#define SDL_strdup   strdup
 
#define SDL_vsnprintf   vsnprintf
 
#define SDL_strtol   strtol
 
#define SDL_strtoll   strtoll
 
#define SDL_strtoul   strtoul
 
#define SDL_strtoull   strtoull
 
#define SDL_strtof   strtof
 
#define SDL_strtod   strtod
 
#define SDL_itoa   itoa
 
#define SDL_atoi   atoi
 
#define SDL_atof   atof
 
#define SDL_toupper   toupper
 
#define SDL_ceil   ceil
 
#define SDL_ceilf   ceilf
 
#define SDL_ceill   ceill
 
#define SDL_getenv   getenv
 
#define SDL_COMPILE_TIME_ASSERT(__N, __X)   VSF_STATIC_ASSERT(__X)
 
#define SDL_MAX_SINT8   INT8_MAX
 
#define SDL_MIN_SINT8   INT8_MIN
 
#define SDL_MAX_UINT8   UINT8_MAX
 
#define SDL_MIN_UINT8   0
 
#define SDL_MAX_SINT16   INT16_MAX
 
#define SDL_MIN_SINT16   INT16_MIN
 
#define SDL_MAX_UINT16   UINT16_MAX
 
#define SDL_MIN_UINT16   0
 
#define SDL_MAX_SINT32   INT32_MAX
 
#define SDL_MIN_SINT32   INT32_MIN
 
#define SDL_MAX_UINT32   UINT32_MAX
 
#define SDL_MIN_UINT32   0
 
#define SDL_MAX_SINT64   INT64_MAX
 
#define SDL_MIN_SINT64   INT64_MIN
 
#define SDL_MAX_UINT64   UINT64_MAX
 
#define SDL_MIN_UINT64   0
 

Typedefs

typedef enum SDL_bool 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
 

Enumerations

enum  SDL_bool {
  SDL_FALSE = 0 ,
  SDL_TRUE = 1
}
 

Functions

double ceil (double x)
 
float ceilf (float x)
 
long double ceill (long double x)
 

Macro Definition Documentation

◆ SDL_arraysize

#define SDL_arraysize   dimof

◆ SDL_TABLESIZE

#define SDL_TABLESIZE   SDL_arraysize

◆ SDL_assert

#define SDL_assert   VSF_SDL2_ASSERT

◆ SDL_free

#define SDL_free   free

◆ SDL_malloc

#define SDL_malloc   malloc

◆ SDL_realloc

#define SDL_realloc   realloc

◆ SDL_calloc

#define SDL_calloc   calloc

◆ SDL_memcmp

#define SDL_memcmp   memcmp

◆ SDL_atoi [1/2]

#define SDL_atoi   atoi

◆ SDL_stack_alloc

#define SDL_stack_alloc (   __type,
  __count 
)    (__type*)SDL_malloc(sizeof(__type) * (__count))

◆ SDL_stack_free

#define SDL_stack_free (   __data)    SDL_free(__data)

◆ SDL_min

#define SDL_min   vsf_min

◆ SDL_max

#define SDL_max   vsf_max

◆ SDL_memset

#define SDL_memset   memset

◆ SDL_memcpy

#define SDL_memcpy   memcpy

◆ SDL_strlen

#define SDL_strlen   strlen

◆ SDL_strcmp

#define SDL_strcmp   strcmp

◆ SDL_strcasecmp

#define SDL_strcasecmp   strcasecmp

◆ SDL_strlcpy

#define SDL_strlcpy   strlcpy

◆ SDL_strrchr

#define SDL_strrchr   strrchr

◆ SDL_strchr

#define SDL_strchr   strchr

◆ SDL_strdup

#define SDL_strdup   strdup

◆ SDL_vsnprintf

#define SDL_vsnprintf   vsnprintf

◆ SDL_strtol

#define SDL_strtol   strtol

◆ SDL_strtoll

#define SDL_strtoll   strtoll

◆ SDL_strtoul

#define SDL_strtoul   strtoul

◆ SDL_strtoull

#define SDL_strtoull   strtoull

◆ SDL_strtof

#define SDL_strtof   strtof

◆ SDL_strtod

#define SDL_strtod   strtod

◆ SDL_itoa

#define SDL_itoa   itoa

◆ SDL_atoi [2/2]

#define SDL_atoi   atoi

◆ SDL_atof

#define SDL_atof   atof

◆ SDL_toupper

#define SDL_toupper   toupper

◆ SDL_ceil

#define SDL_ceil   ceil

◆ SDL_ceilf

#define SDL_ceilf   ceilf

◆ SDL_ceill

#define SDL_ceill   ceill

◆ SDL_getenv

#define SDL_getenv   getenv

◆ SDL_COMPILE_TIME_ASSERT

#define SDL_COMPILE_TIME_ASSERT (   __N,
  __X 
)    VSF_STATIC_ASSERT(__X)

◆ SDL_MAX_SINT8

#define SDL_MAX_SINT8   INT8_MAX

◆ SDL_MIN_SINT8

#define SDL_MIN_SINT8   INT8_MIN

◆ SDL_MAX_UINT8

#define SDL_MAX_UINT8   UINT8_MAX

◆ SDL_MIN_UINT8

#define SDL_MIN_UINT8   0

◆ SDL_MAX_SINT16

#define SDL_MAX_SINT16   INT16_MAX

◆ SDL_MIN_SINT16

#define SDL_MIN_SINT16   INT16_MIN

◆ SDL_MAX_UINT16

#define SDL_MAX_UINT16   UINT16_MAX

◆ SDL_MIN_UINT16

#define SDL_MIN_UINT16   0

◆ SDL_MAX_SINT32

#define SDL_MAX_SINT32   INT32_MAX

◆ SDL_MIN_SINT32

#define SDL_MIN_SINT32   INT32_MIN

◆ SDL_MAX_UINT32

#define SDL_MAX_UINT32   UINT32_MAX

◆ SDL_MIN_UINT32

#define SDL_MIN_UINT32   0

◆ SDL_MAX_SINT64

#define SDL_MAX_SINT64   INT64_MAX

◆ SDL_MIN_SINT64

#define SDL_MIN_SINT64   INT64_MIN

◆ SDL_MAX_UINT64

#define SDL_MAX_UINT64   UINT64_MAX

◆ SDL_MIN_UINT64

#define SDL_MIN_UINT64   0

Typedef Documentation

◆ SDL_bool

typedef enum SDL_bool SDL_bool

◆ Sint8

typedef int8_t Sint8

◆ Uint8

typedef uint8_t Uint8

◆ Sint16

typedef int16_t Sint16

◆ Uint16

typedef uint16_t Uint16

◆ Sint32

typedef int32_t Sint32

◆ Uint32

typedef uint32_t Uint32

◆ Sint64

typedef int64_t Sint64

◆ Uint64

typedef uint64_t Uint64

Enumeration Type Documentation

◆ SDL_bool

enum SDL_bool
Enumerator
SDL_FALSE 
SDL_TRUE 

Function Documentation

◆ ceil()

double ceil ( double  x)

◆ ceilf()

float ceilf ( float  x)

◆ ceill()

long double ceill ( long double  x)