Function sentry_contrib_native_sys::init[][src]

pub unsafe extern "C" fn init(options: *mut Options) -> c_int

Initializes the Sentry SDK with the specified options.

This takes ownership of the options. After the options have been set they cannot be modified any more. Depending on the configured transport and backend, this function might not be fully thread-safe. Returns 0 on success.