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 library itself.

addr_hint

When hinting upwards, this points to the next page that we hope to allocate at; when hinting downwards, this points to the beginning of the last successful allocation.

TODO: Utilize this on Windows.

PageAllocator.addr_hint
var addr_hint: ?[*]align(page_size_min) u8 = null

File

lib/std/heap/PageAllocator.zig:42

Code

var addr_hint: ?[*]align(page_size_min) u8 = null