SDL_GetHint

Get the value of a hint.

extern (C) nothrow @nogc extern
const(char)*
SDL_GetHint
(
const(char)* name
)

Parameters

name const(char)*

The hint to query.

Return Value

Type: const(char)*

The string value of a hint or null if the hint isn't set.

Threadsafety: It is safe to call this function from any thread, however the return value only remains valid until the hint is changed; if another thread might do so, the app should supply locks and/or make a copy of the string. Note that using a hint callback instead is always thread-safe, as SDL holds a lock on the thread subsystem during the callback.

See Also

Meta