pub unsafe extern "C" fn module_speak(
data: *const c_char,
len: usize,
msgtype: MessageType,
) -> c_intExpand description
Asynchronous speak
Your module implementation must export it’s own version of either
module_speak_sync or this function as:
#[unsafe(no_mangle)]
unsafe extern "C" fn module_speak(data: *const raw::c_char, len: usize, msgtype: MessageType) -> raw::c_int {
// Implementation
}