Skip to main content

mallocstr

Macro mallocstr 

Source
macro_rules! mallocstr {
    ($s:expr) => { ... };
}
Available on non-crate feature lock only.
Expand description

Allocate a zeroed *mut i8 to be sent as a pointer to a string.

Kept for use with the unsafe C API; the memory is never freed.