iai_callgrind

Macro format_cstring

source
macro_rules! format_cstring {
    ($($args:tt)*) => { ... };
}
Available on crate feature client_requests_defs only.
Expand description

Convenience macro to create a \0-byte terminated std::ffi::CString from a format string

The format string passed to this macro must not contain or end with a \0-byte.

ยงSafety

The same safety conditions as to the cstring macro apply here