Skip to main content

kr_adopt_vocabulary

Function kr_adopt_vocabulary 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn kr_adopt_vocabulary( engine: *mut Engine, pointer: *const VocabularyHandle, ) -> u32
Expand description

Adopt the language views and learned lists together, without changing session state or authority.

ยงSafety

engine must be null or a live uniquely borrowed engine on its serialized thread. pointer must be null or a distinct live source allocation and may be concurrently observed/configured. Both allocations must remain alive until the call returns. No native callback occurs.