mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-25 08:44:13 +00:00
SDL_GetNumAllocations returns -1 when allocation counting is disabled
This commit is contained in:
committed by
Sam Lantinga
parent
a33144fbc9
commit
f8d8bf8066
@@ -1542,7 +1542,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_aligned_free(void *mem);
|
||||
/**
|
||||
* Get the number of outstanding (unfreed) allocations.
|
||||
*
|
||||
* \returns the number of allocations.
|
||||
* \returns the number of allocations or
|
||||
* -1 if allocation counting is disabled.
|
||||
*
|
||||
* \threadsafety It is safe to call this function from any thread.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user