mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 11:28:15 +00:00
Renamed atomic functions to match SDL 3.0 naming convention
This will also allow us to cleanly add atomic operations for other types in the future.
This commit is contained in:
@@ -6417,7 +6417,7 @@ SDL_bool SDL_SetMemoryFunctions(SDL_malloc_func malloc_func,
|
||||
|
||||
int SDL_GetNumAllocations(void)
|
||||
{
|
||||
return SDL_AtomicGet(&s_mem.num_allocations);
|
||||
return SDL_GetAtomicInt(&s_mem.num_allocations);
|
||||
}
|
||||
|
||||
void *SDL_malloc(size_t size)
|
||||
|
Reference in New Issue
Block a user