Type Alias maa_framework::internal::MaaAPICallback
source · pub type MaaAPICallback = Option<unsafe extern "C" fn(msg: MaaStringView, details_json: MaaStringView, callback_arg: MaaTransparentArg)>;Available on crate feature
internal only.Expand description
@brief The callback function type.
@param msg The message. See MaaMsg.h @param details_json The details in JSON format. See doc in MaaMsg.h
Aliased Type§
enum MaaAPICallback {
None,
Some(unsafe extern "C" fn(_: *const i8, _: *const i8, _: *mut c_void)),
}