Skip to main content

kr_engine_free

Function kr_engine_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn kr_engine_free(pointer: *mut Engine)
Expand description

Free once, after every call on the engine has returned and no callback can reach it. Null is a no-op.

ยงSafety

A non-null pointer must be the live allocation returned by kr_engine_new, with no aliases.