A library for parsing C macros.
This crate allows parsing C macros and converting them to Rust code.
Both function-like macros (e.g. #define FUNC(a, b, c) a + b * c) as well as variable-like macros (e.g. #define VAR 4 + 7 * 82) are supported.
#define FUNC(a, b, c) a + b * c
#define VAR 4 + 7 * 82
See FnMacro and VarMacro on how to parse macros.
FnMacro
VarMacro
pub use ast::*;