DOKK / manpages / debian 13 / libsdl3-doc / SDL_EnumeratePropertiesCallback.3type.en
SDL_EnumeratePropertiesCallback(3type) SDL3 DATATYPES SDL_EnumeratePropertiesCallback(3type)

SDL_EnumeratePropertiesCallback - A callback used to enumerate all the properties in a group of properties.

Defined in SDL3/SDL_properties.h

#include "SDL3/SDL.h"
typedef void (SDLCALL *SDL_EnumeratePropertiesCallback)(void *userdata, SDL_PropertiesID props, const char *name);

This callback is called from

SDL_EnumerateProperties (), and is called once per property in the set.

an app-defined pointer passed to the callback.
the SDL_PropertiesID
that is being enumerated.
the next property name in the enumeration.

SDL_EnumerateProperties
holds a lock on props during this callback.

This datatype is available since SDL 3.2.0.

(3), SDL_EnumerateProperties(3)

SDL 3.2.10 Simple Directmedia Layer