solder/
macros.rs

1/// Adds a `\0` to the end of the string and gets its pointer
2#[macro_export]
3macro_rules! c_str {
4    ($s:expr) => { {
5        concat!($s, "\0").as_ptr() as *const i8
6    } }
7}