From 2aea74aa8444760c86d8e7a7e3b87f26c3873b6c Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Mon, 22 Jul 2024 22:19:38 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL3/SDL_events.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/include/SDL3/SDL_events.h b/include/SDL3/SDL_events.h index 4beaf9298d..280c2a4a1d 100644 --- a/include/SDL3/SDL_events.h +++ b/include/SDL3/SDL_events.h @@ -1432,13 +1432,18 @@ extern SDL_DECLSPEC void * SDLCALL SDL_AllocateTemporaryMemory(size_t size); /** * Claim ownership of temporary memory. * - * Some functions return temporary memory which SDL will automatically clean up. If you want to hold onto it for a long time or beyond the current function scope, you can call this function to get a pointer that you own, and can free using SDL_free() when you're done. + * Some functions return temporary memory which SDL will automatically clean + * up. If you want to hold onto it for a long time or beyond the current + * function scope, you can call this function to get a 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 ownership of the memory. + * If the memory isn't temporary, this will return NULL, and you don't have + * ownership of the memory. * * \param mem a pointer allocated with SDL_AllocateTemporaryMemory(). * \returns a pointer to the memory now owned by the application, which must - * be freed using SDL_free(), or NULL if the memory is not temporary or is not owned by this thread. + * be freed using SDL_free(), or NULL if the memory is not temporary + * or is not owned by this thread. * * \threadsafety It is safe to call this function from any thread. *