Macro phper::c_str_ptr[][src]

c_str_ptr!() { /* proc-macro */ }
Expand description

C style string end with ‘\0’.

Examples

assert_eq!(c_str_ptr!("foo"), "foo\0".as_ptr().cast());