cstr 0.2.12

Macro for building static CStr reference
Documentation
1
2
3
4
5
6
7
use cstr::cstr;

fn main() {
    let _foo = cstr!(1);
    let _foo = cstr!(("a"));
    let _foo = cstr!(&1);
}