Procházet zdrojové kódy

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

Sylvain před 2 roky
rodič
revize
e9af964cf4
1 změnil soubory, kde provedl 14 přidání a 0 odebrání
  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
  *
+ * \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.
  *