Function notesLen [src]
Prototype
pub fn notesLen(item: Item, zir: Zir) u32
Parameters
item: Item
zir: Zir
Source
pub fn notesLen(item: Item, zir: Zir) u32 {
if (item.notes == 0) return 0;
const block = zir.extraData(Block, item.notes);
return block.data.body_len;
}