Removed SDL_ClearHints() from the public API

Fixes https://github.com/libsdl-org/SDL/issues/9129
This commit is contained in:
Sam Lantinga 2024-02-24 20:29:39 -08:00
parent a1ea706215
commit 276566235c
7 changed files with 5 additions and 20 deletions

View file

@ -2661,23 +2661,6 @@ extern DECLSPEC void SDLCALL SDL_DelHintCallback(const char *name,
SDL_HintCallback callback,
void *userdata);
/**
* Clear all hints.
*
* This function is automatically called during SDL_Quit(), and deletes all
* callbacks without calling them and frees all memory associated with hints.
* If you're calling this from application code you probably want to call
* SDL_ResetHints() instead.
*
* This function will be removed from the API the next time we rev the ABI.
*
* \since This function is available since SDL 3.0.0.
*
* \sa SDL_ResetHints
*/
extern DECLSPEC void SDLCALL SDL_ClearHints(void);
/* Ends C function definitions when using C++ */
#ifdef __cplusplus
}