From e9af964cf4bb76a002f94e21be25ebfb1b040f87 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Sun, 12 Feb 2023 09:49:55 +0100 Subject: [PATCH] More `\param` added for SDL function in stdinc.h --- include/SDL3/SDL_stdinc.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/SDL3/SDL_stdinc.h b/include/SDL3/SDL_stdinc.h index 7fed1afdf..7e0dc66b4 100644 --- a/include/SDL3/SDL_stdinc.h +++ b/include/SDL3/SDL_stdinc.h @@ -394,6 +394,11 @@ typedef void (SDLCALL *SDL_free_func)(void *mem); /** * Get the original set of SDL memory functions * + * \param malloc_func filled with malloc function + * \param calloc_func filled with calloc function + * \param realloc_func filled with realloc function + * \param free_func filled with free function + * * \since This function is available since SDL 3.0.0. */ extern DECLSPEC void SDLCALL SDL_GetOriginalMemoryFunctions(SDL_malloc_func *malloc_func, @@ -404,6 +409,11 @@ extern DECLSPEC void SDLCALL SDL_GetOriginalMemoryFunctions(SDL_malloc_func *mal /** * Get the current set of SDL memory functions * + * \param malloc_func filled with malloc function + * \param calloc_func filled with calloc function + * \param realloc_func filled with realloc function + * \param free_func filled with free function + * * \since This function is available since SDL 3.0.0. */ extern DECLSPEC void SDLCALL SDL_GetMemoryFunctions(SDL_malloc_func *malloc_func, @@ -414,6 +424,10 @@ extern DECLSPEC void SDLCALL SDL_GetMemoryFunctions(SDL_malloc_func *malloc_func /** * Replace SDL's memory allocation functions with a custom set * + * \param malloc_func custom malloc function + * \param calloc_func custom calloc function + * \param realloc_func custom realloc function + * \param free_func custom free function * \returns 0 on success or a negative error code on failure; call * SDL_GetError() for more information. *