Wiki Page Content

DRAFT

SDL_GetHintBoolean

Use this function to get the boolean value of a hint variable.

Syntax

SDL_bool SDL_GetHintBoolean(const char* name,
                            SDL_bool    default_value)

Function Parameters

name

the name of the hint to get the boolean value from

default_value

the value to return if the hint does not exist

Return Value

Returns the boolean value of a hint or the provided default value if the hint does not exist.

Code Examples

You can add your code example here

Remarks

You can add useful comments here

Version

This function is available since SDL 2.0.5.


CategoryAPI, CategoryHints

None: SDL_GetHintBoolean (last edited 2016-10-08 22:43:44 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit