Skip to main content

pamoja_mavlink_schema_field_count

Function pamoja_mavlink_schema_field_count 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_mavlink_schema_field_count( schema: *const PamojaMavlinkSchema, ) -> usize
Expand description

Returns how many fields a message has.

§Arguments

  • schema - the shape to read.

§Returns

The field count, or 0 if schema is null.

§Safety

schema must be a live schema handle or null.