Macro rcstring::cstr [] [src]

macro_rules! cstr {
    ($arg:expr) => { ... };
}

Constructs a new CString from a string literal

Examples

let cs = cstr!("foo");