aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_list.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-05-24 20:06:56 -0400
committerAndrew Kelley <andrew@ziglang.org>2020-05-24 21:40:08 -0400
commit53d011fa1a7bfb2389e3677e1f6fcbe7a678e05f (patch)
tree6dc248d8606088f7a288c00f6ccef78290229cf4 /lib/std/array_list.zig
parentc6e7d0fcfdf83531c5c931433528c540eee62e56 (diff)
downloadzig-53d011fa1a7bfb2389e3677e1f6fcbe7a678e05f.tar.gz
zig-53d011fa1a7bfb2389e3677e1f6fcbe7a678e05f.zip
(breaking) std.time fixups and API changes
Remove the constants that assume a base unit in favor of explicit x_per_y constants. nanosecond calendar timestamps now use i128 for the type. This affects fs.File.Stat, std.time.nanoTimestamp, and fs.File.updateTimes. calendar timestamps are now signed, because the value can be less than the epoch (the user can set their computer time to whatever they wish). implement std.os.clock_gettime for Windows when clock id is CLOCK_CALENDAR.
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions