logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Availability

       This datatype is available since SDL 3.2.0.

Description

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

Function Parameters

userdata
              an app-defined pointer passed to the callback.

       props  the SDL_PropertiesID that is being enumerated.

       name   the next property name in the enumeration.

Name

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

See Also

SDL_EnumerateProperties(3)

Simple Directmedia Layer                           SDL 3.2.20             SDL_EnumeratePropertiesCallback(3type)

Synopsis

#include<SDL3/SDL_properties.h>typedefvoid(SDLCALL*SDL_EnumeratePropertiesCallback)(void*userdata,SDL_PropertiesIDprops,constchar*name);

Thread Safety

SDL_EnumerateProperties holds a lock on props during this callback.

See Also