SDL3 module

SDL_SetMemoryFunctions

procedureforeignextension6 overloadsSource
SDL_SetMemoryFunctions :: (
    malloc_func: SDL_malloc_func,
    calloc_func: SDL_calloc_func,
    realloc_func: SDL_realloc_func,
    free_func: SDL_free_func
) -> bool #foreign

Parameters

malloc_func: SDL_malloc_func
calloc_func: SDL_calloc_func
realloc_func: SDL_realloc_func
free_func: SDL_free_func

Returns

bool
SDL_SetMemoryFunctions :: (
    malloc_func: SDL_malloc_func,
    calloc_func: SDL_calloc_func,
    realloc_func: SDL_realloc_func,
    free_func: SDL_free_func
) -> bool #foreign

Parameters

malloc_func: SDL_malloc_func
calloc_func: SDL_calloc_func
realloc_func: SDL_realloc_func
free_func: SDL_free_func

Returns

bool
SDL_SetMemoryFunctions :: (
    malloc_func: SDL_malloc_func,
    calloc_func: SDL_calloc_func,
    realloc_func: SDL_realloc_func,
    free_func: SDL_free_func
) -> bool #foreign

Parameters

malloc_func: SDL_malloc_func
calloc_func: SDL_calloc_func
realloc_func: SDL_realloc_func
free_func: SDL_free_func

Returns

bool
SDL_SetMemoryFunctions :: (
    malloc_func: SDL_malloc_func,
    calloc_func: SDL_calloc_func,
    realloc_func: SDL_realloc_func,
    free_func: SDL_free_func
) -> bool #foreign

Parameters

malloc_func: SDL_malloc_func
calloc_func: SDL_calloc_func
realloc_func: SDL_realloc_func
free_func: SDL_free_func

Returns

bool
SDL_SetMemoryFunctions :: (
    malloc_func: SDL_malloc_func,
    calloc_func: SDL_calloc_func,
    realloc_func: SDL_realloc_func,
    free_func: SDL_free_func
) -> bool #foreign

Parameters

malloc_func: SDL_malloc_func
calloc_func: SDL_calloc_func
realloc_func: SDL_realloc_func
free_func: SDL_free_func

Returns

bool
SDL_SetMemoryFunctions :: (
    malloc_func: SDL_malloc_func,
    calloc_func: SDL_calloc_func,
    realloc_func: SDL_realloc_func,
    free_func: SDL_free_func
) -> bool #foreign

Parameters

malloc_func: SDL_malloc_func
calloc_func: SDL_calloc_func
realloc_func: SDL_realloc_func
free_func: SDL_free_func

Returns

bool

See also