Macro rquickjs::cstr

source ·
macro_rules! cstr {
    ($str:tt) => { ... };
}
Expand description

Short macro to define a cstring literal.

Make sure the string does not contain any internal null characters or it will panic.