mirror of https://github.com/libsdl-org/SDL.git
Sync SDL3 wiki -> header
This commit is contained in:
parent
750aef2bee
commit
a1a8278029
|
|
@ -1435,9 +1435,9 @@ extern SDL_DECLSPEC void * SDLCALL SDL_AllocateTemporaryMemory(size_t size);
|
||||||
* Claim ownership of temporary memory.
|
* Claim ownership of temporary memory.
|
||||||
*
|
*
|
||||||
* Some functions return temporary memory which SDL will automatically clean
|
* Some functions return temporary memory which SDL will automatically clean
|
||||||
* up. If you want to hold onto it past the current event being handled or beyond the current
|
* up. If you want to hold onto it past the current event being handled or
|
||||||
* function scope, you can call this function to get a pointer that you own,
|
* beyond the current function scope, you can call this function to get a
|
||||||
* and can free using SDL_free() when you're done.
|
* pointer that you own, and can free using SDL_free() when you're done.
|
||||||
*
|
*
|
||||||
* If the memory isn't temporary, this will return NULL, and you don't have
|
* If the memory isn't temporary, this will return NULL, and you don't have
|
||||||
* ownership of the memory.
|
* ownership of the memory.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue