|
|
@ -869,12 +869,14 @@ impl SoftwareKeyboard { |
|
|
|
|
|
|
|
|
|
|
|
let mut retmsg = std::ptr::null(); |
|
|
|
let mut retmsg = std::ptr::null(); |
|
|
|
|
|
|
|
|
|
|
|
swkbd.callback_result = extra.callback.unwrap()( |
|
|
|
if let Some(cb) = extra.callback { |
|
|
|
extra.callback_user, |
|
|
|
swkbd.callback_result = cb( |
|
|
|
&mut retmsg, |
|
|
|
extra.callback_user, |
|
|
|
text8.as_ptr(), |
|
|
|
&mut retmsg, |
|
|
|
text8.len(), |
|
|
|
text8.as_ptr(), |
|
|
|
) as _; |
|
|
|
text8.len(), |
|
|
|
|
|
|
|
) as _ |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
let retmsg = if !retmsg.is_null() { |
|
|
|
let retmsg = if !retmsg.is_null() { |
|
|
|
unsafe { |
|
|
|
unsafe { |
|
|
|