Skip to main content

diffsol_error_code

Function diffsol_error_code 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn diffsol_error_code() -> i32
Expand description

Return whether thread-local error state is currently set.

ยงSafety

This function is safe to call from C. It relies on thread-local state managed by this library and does not dereference any caller-provided pointers.