Skip to main content

write_section_struct_shapes

Function write_section_struct_shapes 

Source
pub fn write_section_struct_shapes(
    struct_shapes: &[StructShapeDef],
    buf: &mut Vec<u8>,
)
Expand description

Write the TM-4 StructShapes section (no header framing): one entry per declared STRUCT — shape id, name, then its ordered field NameIds (docs/format-v4-rfc.md §2). Empty (count 0) until a compiler milestone emits struct declarations — see the PR description’s scope note.