#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_mavlink_schema_for_name(
name: *const c_char,
out_schema: *mut *mut PamojaMavlinkSchema,
) -> PamojaStatusExpand description
Returns the shape of a message the engine types, by name.
§Arguments
name- the message name, such asGLOBAL_POSITION_INT.out_schema- set to a new schema handle on success, which the caller releases withpamoja_mavlink_schema_free.
§Returns
PamojaStatus::Ok on success.
§Errors
Returns PamojaStatus::InvalidArgument if either pointer is null or name is not
UTF-8, and PamojaStatus::Unsupported for a name this build does not type.
§Safety
name must be a null-terminated C string, and out_schema must point at writable
storage for one pointer.