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 library itself.
exportconst_tls_usedlinksection(".rdata$T") = IMAGE_TLS_DIRECTORY{
.StartAddressOfRawData = &_tls_start,
.EndAddressOfRawData = &_tls_end,
.AddressOfIndex = &_tls_index,
// __xl_a is just a global variable containing a null pointer; the actual callbacks sit in
// between __xl_a and __xl_z. So we need to skip over __xl_a here. If there are no callbacks,
// this just means we point to __xl_z (the null terminator).
.AddressOfCallBacks = @as([*:null]windows.PIMAGE_TLS_CALLBACK, @ptrCast(&__xl_a)) + 1,
.SizeOfZeroFill = 0,
.Characteristics = 0,
}