zig/std/os/windows
Andrew Kelley a2bd9f8912 std lib: modify allocator idiom
Before we accepted a nullable allocator for some stuff like
opening files. Now we require an allocator.

Use the mem.FixedBufferAllocator pattern if a bound on the amount
to allocate is known.

This also establishes the pattern that usually an allocator is the
first argument to a function (possibly after "self").

fix docs for std.cstr.addNullByte

self hosted compiler:
 * only build docs when explicitly asked to
 * clean up main
 * stub out zig fmt
2018-02-09 18:27:50 -05:00
..
error.zig progress toward hello world without libc in windows 2017-06-04 10:08:55 -04:00
index.zig syntax: functions require return type. remove -> 2018-01-25 04:10:11 -05:00
util.zig std lib: modify allocator idiom 2018-02-09 18:27:50 -05:00