Function chd_error_string

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn chd_error_string(
    err: chd_error,
) -> *const c_char
Expand description

Returns an error string for the corresponding CHD error.

ยงSafety

The returned string is leaked and the memory should not and can not ever be validly freed. Attempting to free the returned pointer with free is undefined behaviour.