Pārlūkot izejas kodu

More `\param` added for SDL function in stdinc.h

Sylvain 2 gadi atpakaļ
vecāks
revīzija
e9af964cf4
1 mainītis faili ar 14 papildinājumiem un 0 dzēšanām
  1. 14 0
      include/SDL3/SDL_stdinc.h

+ 14 - 0
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
  * 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.
  * \since This function is available since SDL 3.0.0.
  */
  */
 extern DECLSPEC void SDLCALL SDL_GetOriginalMemoryFunctions(SDL_malloc_func *malloc_func,
 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
  * 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.
  * \since This function is available since SDL 3.0.0.
  */
  */
 extern DECLSPEC void SDLCALL SDL_GetMemoryFunctions(SDL_malloc_func *malloc_func,
 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
  * 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
  * \returns 0 on success or a negative error code on failure; call
  *          SDL_GetError() for more information.
  *          SDL_GetError() for more information.
  *
  *