diff options
| author | Vexu <git@vexu.eu> | 2020-01-16 13:55:39 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-01-16 13:22:30 -0500 |
| commit | bac27731e30cbea76997fa3547791b3462ac8697 (patch) | |
| tree | 1e14fcb22dc0957dda325fbc058989609c48b5a0 /lib/std/builtin.zig | |
| parent | df03fcf5f07e0d5d16e5b837658265f6c468cbe4 (diff) | |
| download | zig-bac27731e30cbea76997fa3547791b3462ac8697.tar.gz zig-bac27731e30cbea76997fa3547791b3462ac8697.zip | |
add struct field default value to typeinfo
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index dbd19fbadf..65604a5b20 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -205,6 +205,7 @@ pub const TypeInfo = union(enum) { name: []const u8, offset: ?comptime_int, field_type: type, + default_value: var, }; /// This data structure is used by the Zig language code generation and |
