#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_mavlink_enum_value(
entry: *const c_char,
out_value: *mut u64,
) -> PamojaStatusExpand description
Looks up the value a dialect entry name stands for, whichever enumeration it belongs to.
§Arguments
entry- the entry’s name, such asMAV_CMD_COMPONENT_ARM_DISARM, as null-terminated UTF-8.out_value- receives the value.
§Returns
PamojaStatus::Ok, or PamojaStatus::InvalidArgument if no entry has that name or an
argument is null.
§Safety
entry must be a valid null-terminated UTF-8 string or null, and out_value must be
valid for a write or null.