Skip to main content

rust_restricted_state_destroy

Function rust_restricted_state_destroy 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn rust_restricted_state_destroy( ptr: *mut RestrictedState, )
Expand description

Destroy a RestrictedState created by rust_restricted_state_create.

ยงSafety

Caller must pass a pointer returned by rust_restricted_state_create exactly once.