Zig 0.17.0-dev (Split by item) This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig standard library.
std › pdb › ModInfo Public Struct ModInfo Doc Source Public Struct std.pdb.ModInfo
pub const ModInfo = extern struct Fields unused1 : u32 section_contr : SectionContribEntry flags : u16 module_sym_stream : u16 sym_byte_size : u32 c11_byte_size : u32 c13_byte_size : u32 source_file_count : u16 padding : [2 ]u8 unused2 : u32 source_file_name_index : u32 pdb_file_path_name_index : u32 File pdb.zig: 57
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73 pub const ModInfo = extern struct {
unused1 : u32 ,
section_contr : SectionContribEntry ,
flags : u16 ,
module_sym_stream : u16 ,
sym_byte_size : u32 ,
c11_byte_size : u32 ,
c13_byte_size : u32 ,
source_file_count : u16 ,
padding : [2 ]u8 ,
unused2 : u32 ,
source_file_name_index : u32 ,
pdb_file_path_name_index : u32 ,
// These fields are variable length
//module_name: char[],
//obj_file_name: char[],
}