18#ifndef __VSF_SDL2_STDINC_H__
19#define __VSF_SDL2_STDINC_H__
23#include "../../vsf_sdl2_cfg.h"
25#if VSF_USE_SDL2 == ENABLED
42#define SDL_arraysize dimof
43#define SDL_TABLESIZE SDL_arraysize
46#define SDL_assert VSF_SDL2_ASSERT
48#define SDL_malloc malloc
49#define SDL_realloc realloc
50#define SDL_calloc calloc
51#define SDL_memcmp memcmp
54#define SDL_stack_alloc(__type, __count) (__type*)SDL_malloc(sizeof(__type) * (__count))
55#define SDL_stack_free(__data) SDL_free(__data)
57#define SDL_min vsf_min
58#define SDL_max vsf_max
61#define SDL_memset memset
62#define SDL_memcpy memcpy
63#define SDL_strlen strlen
64#define SDL_strcmp strcmp
65#define SDL_strcasecmp strcasecmp
66#define SDL_strlcpy strlcpy
67#define SDL_strrchr strrchr
68#define SDL_strchr strchr
69#define SDL_strdup strdup
70#define SDL_vsnprintf vsnprintf
71#define SDL_strtol strtol
72#define SDL_strtoll strtoll
73#define SDL_strtoul strtoul
74#define SDL_strtoull strtoull
75#define SDL_strtof strtof
76#define SDL_strtod strtod
82#define SDL_toupper toupper
86#define SDL_ceilf ceilf
87#define SDL_ceill ceill
89#define SDL_getenv getenv
91#define SDL_COMPILE_TIME_ASSERT(__N, __X) VSF_STATIC_ASSERT(__X)
101#define SDL_MAX_SINT8 INT8_MAX
102#define SDL_MIN_SINT8 INT8_MIN
105#define SDL_MAX_UINT8 UINT8_MAX
106#define SDL_MIN_UINT8 0
109#define SDL_MAX_SINT16 INT16_MAX
110#define SDL_MIN_SINT16 INT16_MIN
113#define SDL_MAX_UINT16 UINT16_MAX
114#define SDL_MIN_UINT16 0
117#define SDL_MAX_SINT32 INT32_MAX
118#define SDL_MIN_SINT32 INT32_MIN
121#define SDL_MAX_UINT32 UINT32_MAX
122#define SDL_MIN_UINT32 0
126#define SDL_MAX_SINT64 INT64_MAX
127#define SDL_MIN_SINT64 INT64_MIN
130#define SDL_MAX_UINT64 UINT64_MAX
131#define SDL_MIN_UINT64 0
uint8_t Uint8
Definition SDL_stdinc.h:107
int64_t Sint64
Definition SDL_stdinc.h:128
uint16_t Uint16
Definition SDL_stdinc.h:115
int8_t Sint8
Definition SDL_stdinc.h:103
int32_t Sint32
Definition SDL_stdinc.h:119
SDL_bool
Definition SDL_stdinc.h:96
@ SDL_TRUE
Definition SDL_stdinc.h:98
@ SDL_FALSE
Definition SDL_stdinc.h:97
int16_t Sint16
Definition SDL_stdinc.h:111
uint64_t Uint64
Definition SDL_stdinc.h:132
uint32_t Uint32
Definition SDL_stdinc.h:123
long double ceill(long double x)
signed short int16_t
Definition lvgl.h:42
unsigned short uint16_t
Definition lvgl.h:41
unsigned int uint32_t
Definition lvgl.h:43
signed int int32_t
Definition lvgl.h:44
unsigned char uint8_t
Definition lvgl.h:40
signed char int8_t
Definition lvgl.h:38
long long int64_t
Definition stdint.h:10
unsigned long long uint64_t
Definition stdint.h:11