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. Public Function
Allocates a memory region of size bytes from memory of type pool_type and returns the allocated memory. Allocates pages from .conventional_memory as needed to grow the requested pool type.
Allocates a memory region of
sizebytes from memory of typepool_typeand returns the allocated memory. Allocates pages from.conventional_memoryas needed to grow the requested pool type.