Sam Lantinga
|
25b2d2c821
Use new parameter validation macro
|
3 months ago |
Thaddeus Crews
|
3195980b49
Define relevant macros when LACKS_ERRNO_H is true
|
4 months ago |
Brenton Bostick
|
f361034ac3
fix typos
|
4 months ago |
Petar Popovic
|
8ccf85c59e
Formatting spaces around pointer symbol.
|
10 months ago |
Ozkan Sezer
|
54752f8d1c
SDL_malloc.c: replace FORCEINLINE usage with SDL_FORCE_INLINE
|
11 months ago |
Anonymous Maarten
|
62bc2c4c92
SDL_malloc: don't define FORCEINLINE
|
11 months ago |
Anonymous Maarten
|
578ac0ef52
SDL_malloc: disable malloc stats
|
11 months ago |
Sam Lantinga
|
f2074d7af3
Updated copyright for 2025
|
11 months ago |
Anonymous Maarten
|
f8d8bf8066
SDL_GetNumAllocations returns -1 when allocation counting is disabled
|
1 year ago |
Sam Lantinga
|
2e4dc9c109
Disable tracking memory allocation counts by default
|
1 year ago |
Sam Lantinga
|
a90ad3b0e2
Removed SDL_bool in favor of plain bool
|
1 year ago |
Sam Lantinga
|
8d223b3037
Renamed atomic functions to match SDL 3.0 naming convention
|
1 year ago |
Petar Popovic
|
257385277d
SDL_realloc() with size 0 now always defaults to size 1
|
1 year ago |
Sam Lantinga
|
8371114009
Fixed error: multiple storage classes in declaration specifiers
|
1 year ago |
Sam Lantinga
|
93423c1c46
spin_acquire_lock() takes a volatile pointer parameter
|
1 year ago |
Sam Lantinga
|
01fa9cad80
Fixed error: conflicting types for 'getpagesize'
|
1 year ago |
Sam Lantinga
|
8b0798a3da
Fixed error: variable 'nfences' set but not used
|
1 year ago |
Sam Lantinga
|
b5700ccc02
Updated dlmalloc to version 2.8.6
|
1 year ago |
Sam Lantinga
|
9ff3446f03
Use SDL_bool instead an int return code in the SDL API
|
1 year ago |
Ryan C. Gordon
|
423d6ec15a
emscripten: Make sure SDL_malloc and friends are marked KEEPALIVE.
|
1 year ago |
Hubert Maier
|
3acdb8a90b
JANITORIAL: Fix typos in comments in various files (#10058)
|
1 year ago |
Anonymous Maarten
|
31d133db40
Define SDL_PLATFORM_* macros instead of underscored ones (#8875)
|
1 year ago |
Sam Lantinga
|
5b3ee51c6c
Updated copyright for 2024
|
1 year ago |
Ryan C. Gordon
|
447b508a77
error: SDL's allocators now call SDL_OutOfMemory on error.
|
2 years ago |
Anonymous Maarten
|
3472dc11d6
Fix uses of undefined macro identifiers (-Wundef)
|
2 years ago |
David Demelier
|
d0c4849d0b
Rename SDL_atomic_t to SDL_AtomicInt
|
2 years ago |
Sam Lantinga
|
add980efb7
Unfixed spacing
|
2 years ago |
Sam Lantinga
|
2f14b36709
Fixed spacing
|
2 years ago |
David Carlier
|
a5a53c12bf
USE_DEV_RANDOM close the file descriptor even in the rare case it can't read it
|
2 years ago |
Sam Lantinga
|
fde78d12f2
Updated copyright for 2023
|
2 years ago |