Skip to main content

kr_vocabulary_free

Function kr_vocabulary_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn kr_vocabulary_free( pointer: *mut VocabularyHandle, )
Expand description

Free after all source and adoption operations have completed. Null is a no-op.

ยงSafety

Non-null pointer must be the original live allocation, transferred exactly once, with no concurrent operation or remaining Rust borrow. Adopted engines own independent Arc references.