plugin_framework, return C structure

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-05-05 13:37:43 +08:00
parent 357028b222
commit 8f0d696304
5 changed files with 95 additions and 108 deletions

View File

@@ -691,7 +691,7 @@ impl Connection {
}
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
#[cfg(not(any(target_os = "android", target_os = "ios")))]
MessageInput::BlockOnPlugin(peer) => {
MessageInput::BlockOnPlugin(_peer) => {
if crate::platform::block_input(true) {
block_input_mode = true;
}
@@ -703,7 +703,7 @@ impl Connection {
}
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
#[cfg(not(any(target_os = "android", target_os = "ios")))]
MessageInput::BlockOffPlugin(peer) => {
MessageInput::BlockOffPlugin(_peer) => {
if crate::platform::block_input(false) {
block_input_mode = false;
}