diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-06-19 12:16:59 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-06-19 12:16:59 -0400 |
| commit | 0b92d689d0e64164bb8908c807db9338d59c41ce (patch) | |
| tree | dd834c08f8aa7114b3f5487cae816043dd321cf4 /doc | |
| parent | 85422d7aeadc453ec621d0624f394c3f4e3f619f (diff) | |
| download | zig-0b92d689d0e64164bb8908c807db9338d59c41ce.tar.gz zig-0b92d689d0e64164bb8908c807db9338d59c41ce.zip | |
update langref
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index 7a9355747f..4070ef0ac0 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -5688,10 +5688,17 @@ pub const TypeInfo = union(TypeId) { }; pub const Pointer = struct { + size: Size, is_const: bool, is_volatile: bool, alignment: u32, child: type, + + pub const Size = enum { + One, + Many, + Slice, + }; }; pub const Array = struct { |
