1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef BW_COMMON_H
#define BW_COMMON_H
#ifdef __cplusplus
extern "C" {
#endif
#include "assert.h"
#include "debug.h"
#ifdef BW_GTK
#include "posix.h"
#endif
#include <stdint.h>
#define UNUSED( X ) \
(void)( X );
typedef struct {
uint16_t width;
uint16_t height;
} bw_Dims2D;
typedef struct {
uint16_t x;
uint16_t y;
} bw_Pos2D;
#ifdef __cplusplus
} // extern "C"
#endif
#endif//BW_COMMON_H