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. Private Function
addOrOom
Private Function
std.heap.SafeAllocator.addOrOom
fnaddOrOom(a: usize, b: usize) error
Params
a: usize
b: usize
File
heap/SafeAllocator.zig:779
779780781
fnaddOrOom(a: usize, b: usize) error{OutOfMemory}!usize {
returnmath.add(usize, a, b) catcherror.OutOfMemory;
}