Skip to main content

ss_last_error

Function ss_last_error 

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

The message for the most recent failure on this thread.

The returned string is owned by the library and stays valid until the next failing call on the same thread. Never null; empty when nothing has failed.

ยงSafety

The caller must not free the pointer or use it past the next library call.