| | |
| | | /* |
| | | Simple DirectMedia Layer |
| | | Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org> |
| | | Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> |
| | | |
| | | This software is provided 'as-is', without any express or implied |
| | | warranty. In no event will the authors be held liable for any damages |
| | |
| | | * Include file for SDL quit event handling. |
| | | */ |
| | | |
| | | #ifndef _SDL_quit_h |
| | | #define _SDL_quit_h |
| | | #ifndef SDL_quit_h_ |
| | | #define SDL_quit_h_ |
| | | |
| | | #include "SDL_stdinc.h" |
| | | #include "SDL_error.h" |
| | |
| | | #define SDL_QuitRequested() \ |
| | | (SDL_PumpEvents(), (SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT) > 0)) |
| | | |
| | | #endif /* _SDL_quit_h */ |
| | | #endif /* SDL_quit_h_ */ |