#[unsafe(no_mangle)]pub unsafe extern "C" fn libra_error_free_string(
out: *mut *mut c_char,
) -> i32Expand description
Frees an error string previously allocated by libra_error_write.
After freeing, the pointer will be set to null.
ยงSafety
- If
libra_error_writeis not null, it must point to a string previously returned bylibra_error_write. Attempting to free anything else, including strings or objects from other librashader functions, is immediate Undefined Behaviour.