.gitignore added
[dotfiles/.git] / .local / include / python3.9 / pygame / fastevents.h
1 #ifndef _FASTEVENTS_H_
2 #define _FASTEVENTS_H_
3 /*
4     NET2 is a threaded, event based, network IO library for SDL.
5     Copyright (C) 2002 Bob Pendleton
6
7     This library is free software; you can redistribute it and/or
8     modify it under the terms of the GNU Lesser General Public License
9     as published by the Free Software Foundation; either version 2.1
10     of the License, or (at your option) any later version.
11
12     This library is distributed in the hope that it will be useful,
13     but WITHOUT ANY WARRANTY; without even the implied warranty of
14     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15     Lesser General Public License for more details.
16
17     You should have received a copy of the GNU Lesser General Public
18     License along with this library; if not, write to the Free
19     Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20     02111-1307 USA
21
22     If you do not wish to comply with the terms of the LGPL please
23     contact the author as other terms are available for a fee.
24
25     Bob Pendleton
26     Bob@Pendleton.com
27 */
28
29 #include "SDL.h"
30
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34
35   int FE_Init(void);                     // Initialize FE
36   void FE_Quit(void);                    // shutdown FE
37
38   void FE_PumpEvents(void);              // replacement for SDL_PumpEvents
39   int FE_PollEvent(SDL_Event *event);    // replacement for SDL_PollEvent
40   int FE_WaitEvent(SDL_Event *event);    // replacement for SDL_WaitEvent
41   int FE_PushEvent(SDL_Event *event);    // replacement for SDL_PushEvent
42
43   char *FE_GetError(void);               // get the last error
44 #ifdef __cplusplus
45 }
46 #endif
47
48 #endif