aboutsummaryrefslogtreecommitdiff
path: root/lib/std/builtin.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-11-14 03:26:33 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-11-21 20:43:41 -0500
commit1aa978f32e88b4c83fde95f62938c97c7c22164c (patch)
tree75f26a3f9cd18bd980b6fc1c5cab8a4f7f10e2d8 /lib/std/builtin.zig
parente3404e3c78307092e849dc0609f77932b263e3fc (diff)
downloadzig-1aa978f32e88b4c83fde95f62938c97c7c22164c.tar.gz
zig-1aa978f32e88b4c83fde95f62938c97c7c22164c.zip
implement null terminated pointers
Diffstat (limited to 'lib/std/builtin.zig')
-rw-r--r--lib/std/builtin.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig
index 8052f0b31a..9f1e52428c 100644
--- a/lib/std/builtin.zig
+++ b/lib/std/builtin.zig
@@ -144,6 +144,7 @@ pub const TypeInfo = union(enum) {
alignment: comptime_int,
child: type,
is_allowzero: bool,
+ is_null_terminated: bool,
/// This data structure is used by the Zig language code generation and
/// therefore must be kept in sync with the compiler implementation.