bindgen 0.20.5

Automatically generates Rust FFI bindings to C and C++ libraries.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#define FOO 1
#define BAR 4
#define BAZ (FOO + BAR)

#define MIN (1 << 63)

#define BARR (1 << 0)
#define BAZZ ((1 << 1) + BAZ)
#define I_RAN_OUT_OF_DUMB_NAMES (BARR | BAZZ)

/* I haz a comment */
#define HAZ_A_COMMENT BARR

#define HAZ_A_COMMENT_INSIDE (/* comment for real */ BARR + FOO)