Debian Codegraph @

src/pygame_sdl2/pygame_sdl2.h

raw
1 #ifndef PYGAME_SDL2_H
2 #define PYGAME_SDL2_H
3
4 #include "pygame_sdl2/pygame_sdl2.rwobject_api.h"
5 #include "pygame_sdl2/pygame_sdl2.surface_api.h"
6 #include "pygame_sdl2/pygame_sdl2.display_api.h"
7
8 /**
9 * This imports the pygame_sdl2 C api. It returns 0 if the import succeeds, or
10 * 1 if it fails.
11 */
12 static int import_pygame_sdl2(void) {
13 int rv = 0;
14
15 rv |= import_pygame_sdl2__rwobject();
16 rv |= import_pygame_sdl2__surface();
17 rv |= import_pygame_sdl2__display();
18
19 return rv;
20 }
21
22 #endif