#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_mavlink_schema_for_id(
msgid: u32,
out_schema: *mut *mut PamojaMavlinkSchema,
) -> PamojaStatusExpand description
Returns the shape of a message the engine types, by id.
§Arguments
msgid- the message id to look up.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 out_schema is null, and
PamojaStatus::Unsupported for an id this build does not type, which is what
PamojaMavlinkSchemaBuilder is for.
§Safety
out_schema must point at writable storage for one pointer.