include: Removed SDL_quit.h

It only had one (sort of scary) macro in it.

Fixes #9534.
This commit is contained in:
Ryan C. Gordon
2024-04-15 11:35:39 -04:00
parent 0397d23ed8
commit 9c8c254af2
10 changed files with 13 additions and 72 deletions

View File

@@ -1033,6 +1033,19 @@ The following platform preprocessor macros have been removed:
* `__PNACL__`
* `__WINDOWS__`
## SDL_quit.h
SDL_quit.h has been completely removed. It only had one symbol in it--SDL_QuitRequested--and if you want it, you can just add this to your app...
```c
#define SDL_QuitRequested() (SDL_PumpEvents(), (SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_EVENT_QUIT,SDL_EVENT_QUIT) > 0))
```
...but this macro is sort of messy, calling two functions in sequence in an expression.
The following macros have been removed:
* SDL_QuitRequested - call SDL_PumpEvents() then SDL_PeepEvents() directly, instead.
## SDL_rect.h
The following functions have been renamed: