Wiki Page Content

DRAFT

SDL_DelHintCallback

Use this function to remove a function watching a particular hint.

Syntax

void SDL_DelHintCallback(const char*      name,
                         SDL_HintCallback callback,
                         void*            userdata)

Function Parameters

name

the hint being watched

callback

the function being called when the hint value changes

userdata

a pointer being passed to the callback function

Code Examples

You can add your code example here

Remarks

The function prototype for callback is:

  • void SDL_HintCallback(void*       userdata,
                          const char* name,
                          const char* oldValue,
                          const char* newValue)
    
  • where its parameters are:

    userdata

    what was passed as userdata to SDL_DelHintCallback()

    name

    what was passed as name to SDL_DelHintCallback()

    oldValue

    the old value

    newValue

    the new value

Version

This function is available since SDL 2.0.0.


CategoryAPI, CategoryHints

None: SDL_DelHintCallback (last edited 2013-10-30 21:09:53 by PhilippWiesemann)

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