authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-12-17 20:52:29-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-12-17 20:52:29-05:00
log3f658879740e3f7aee05be33532b5ba9aaa316bf
treec080f22a4395009a6d5925b48f3be1f92fe15795
parentab44939941215a753ca51f7b2d84a90d52bfebcf

fix std.mem missing error.OutOfMemory decl

this will be fixed in a better way later by #632

1 files changed, 2 insertions(+), 0 deletions(-)

std/mem.zig+2
......@@ -3,6 +3,8 @@ const assert = debug.assert;
33const math = @import("math/index.zig");
44const builtin = @import("builtin");
55
6error OutOfMemory;
7
68pub const Allocator = struct {
79 /// Allocate byte_count bytes and return them in a slice, with the
810 /// slice's pointer aligned at least to alignment bytes.