npv:_reasonable_ "pedanticage" of the code
[nyanmp.git] / npv / vk / public.h
blobddb7bcde7b4c44b354167967e8e3c6c3d382b502
1 #ifndef NPV_VK_H
2 #define NPV_VK_H
3 /*
4 * code protected with a GNU affero GPLv3 license
5 * copyright (C) 2020 Sylvain BERTRAND
6 */
7 #include <stdbool.h>
8 #include <stddef.h>
9 #include <xcb/xcb.h>
10 #include "npv/c_fixing.h"
11 #include "npv/nyanvk/types.h"
12 #include "npv/nyanvk/syms_dev.h"
13 #include "npv/global.h"
14 /*----------------------------------------------------------------------------*/
15 #include "npv/vk/namespace/public.h"
16 /*----------------------------------------------------------------------------*/
17 #include "npv/vk/public/state.frag.h"
18 /*----------------------------------------------------------------------------*/
19 STATIC void init_once(void);
20 STATIC void surf_init_once(xcb_connection_t *c, u32 wind_id);
21 STATIC void swpchn_update(void);
22 STATIC void fatal(u8 *fmt, ...);
23 STATIC void warning(u8 *fmt, ...);
24 STATIC void vfatal(u8 *fmt, va_list ap);
25 STATIC void vwarning(u8 *fmt, va_list ap);
26 /*----------------------------------------------------------------------------*/
27 #define CLEANUP
28 #include "npv/vk/namespace/public.h"
29 #undef CLEANUP
30 /*----------------------------------------------------------------------------*/
31 #endif