Crate constant_cstr

Crate constant_cstr 

Source
Expand description

constant-cstr exists to enable the safe creation of CStr instances at compile time, enabling safer and more efficient FFI.

Macrosยง

cstr
cstr checks its input for null bytes and, if none are found, generates an &'static CStr. It must be provided a string literal.