Scroll to navigation

SDL_GetMemoryFunctions(3) SDL3 FUNCTIONS SDL_GetMemoryFunctions(3)

NAME

SDL_GetMemoryFunctions - Get the current set of SDL memory functions

SYNOPSIS

#include "SDL3/SDL.h"
void SDL_GetMemoryFunctions(SDL_malloc_func *malloc_func,
                            SDL_calloc_func *calloc_func,
                            SDL_realloc_func *realloc_func,
                            SDL_free_func *free_func);

FUNCTION PARAMETERS

filled with malloc function
filled with calloc function
filled with realloc function
filled with free function

AVAILABILITY

This function is available since SDL 3.0.0.

SDL 3.1.0 SDL