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_GetAppMetadataProperty - Get metadata about your app.

Availability

       This function is available since SDL 3.2.0.

Description

       This  returns  metadata  previously  set using SDL_SetAppMetadata() or SDL_SetAppMetadataProperty().  See
       SDL_SetAppMetadataProperty() for the list of available properties and their meanings.

Function Parameters

name   the name of the metadata property to get.

Name

       SDL_GetAppMetadataProperty - Get metadata about your app.

Return Value

       Returns the current value of the metadata property, or the default if it is not set, NULL for  properties
       with no default.

See Also

SDL_SetAppMetadata(3), SDL_SetAppMetadataProperty(3)

Simple Directmedia Layer                           SDL 3.2.20                      SDL_GetAppMetadataProperty(3)

Synopsis

#include<SDL3/SDL_init.h>constchar*SDL_GetAppMetadataProperty(constchar*name);

Thread Safety

       It is safe to call this function from any thread, although the string returned is not protected and could
       potentially be freed if you call SDL_SetAppMetadataProperty() to set that property from another thread.

See Also