ystring_destroy

Function ystring_destroy 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ystring_destroy(str: *mut c_char)
Expand description

Frees all memory-allocated resources bound to a given UTF-8 null-terminated string returned from Yrs document API. Yrs strings don’t use libc malloc, so calling free() on them will fault.