Skip to main content

diffsol_last_error_message

Function diffsol_last_error_message 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn diffsol_last_error_message() -> *const c_char
Expand description

Return the last error message for the current thread, if any.

ยงSafety

The returned pointer is borrowed from thread-local storage owned by this library and must not be freed or mutated by the caller.