plugina_framework, comment out native call for tmp

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-05-04 19:53:44 +08:00
parent 1243d8f434
commit db683c6664

View File

@ -157,7 +157,7 @@ struct Callbacks {
get_conf: CallbackGetConf, get_conf: CallbackGetConf,
get_id: CallbackGetId, get_id: CallbackGetId,
log: CallbackLog, log: CallbackLog,
native: CallbackNative, // native: CallbackNative,
} }
/// The plugin initialize data. /// The plugin initialize data.
@ -352,7 +352,7 @@ fn load_plugin_path(path: &str) -> ResultType<()> {
get_conf: config::cb_get_conf, get_conf: config::cb_get_conf,
get_id: config::cb_get_local_peer_id, get_id: config::cb_get_local_peer_id,
log: super::plog::plugin_log, log: super::plog::plugin_log,
native: super::native::cb_native_data, // native: super::native::cb_native_data,
}, },
}; };
plugin.init(&init_data, path)?; plugin.init(&init_data, path)?;