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