Skip to main content

diffsol_error

Function diffsol_error 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn diffsol_error() -> *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.