Skip to main content

kr_dictionary_free

Function kr_dictionary_free 

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

Free an immutable dictionary once, after all borrows drain. Null is a no-op.

ยงSafety

A non-null pointer must be the live allocation returned by kr_dictionary_parse_utf8. No call may still borrow it; engines that adopted it hold independent ownership.