SDL_free_func(3type)

SDL_free_func3type

A callback used to implement sdl_free ().

Usage

#include "SDL3/SDL.h"

typedef void (SDLCALL *SDL_free_func)(void *mem);

Header file

Defined in SDL3/SDL_stdinc.h

Overview

SDL will always ensure that the passed mem is a non-NULL pointer.

Function parameters

mem

a pointer to allocated memory.

Thread safety

It should be safe to call this callback from any thread.

Availability

This datatype is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.