Skip to main content

webui_last_error

Function webui_last_error 

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

Return the last error message, or NULL if no error has occurred.

The returned pointer is valid until the next FFI call on the same thread. Callers must not free the returned pointer.

ยงThread Safety

Each thread has its own independent error state.