[](https://crates.io/crates/cpreprocess)
[](https://docs.rs/cpreprocess/)
[](https://github.com/WilliamVenner/cpreprocess/blob/master/LICENSE)
# cpreprocess
Stupid and cursed Rust procedural macro that runs a C preprocessor on the input
# Usage
```toml
[dependencies]
cpreprocess = "*"
```
# Example
```rust
fn main() {
cpreprocess::cpreprocess!(r#"
#define MACRO(NAME) fn print_ ## NAME () { println!("hello world"); }
MACRO(hello_world)
print_hello_world()
"#)
}
```