aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-04-02 14:44:25 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-04-02 18:31:19 -0400
commit5aee17e888c0db7ed0d220334f3adeff6e323cb2 (patch)
tree27699680c82b9aadbb3b2b0e2b53bf74d5536af3 /doc
parentddb8aa73f542d3432538e6de466ac216c89fd12b (diff)
downloadzig-5aee17e888c0db7ed0d220334f3adeff6e323cb2.tar.gz
zig-5aee17e888c0db7ed0d220334f3adeff6e323cb2.zip
regression fixes and fix packed struct abi size
Diffstat (limited to 'doc')
-rw-r--r--doc/langref.html.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index 9ea5028282..23d63f2db2 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -2112,8 +2112,8 @@ test "linked list" {
<li>A {#link|packed enum#} field uses exactly the bit width of its integer tag type.</li>
<li>A {#link|packed union#} field uses exactly the bit width of the union field with
the largest bit width.</li>
- <li>Non-byte-aligned fields are packed into the smallest possible
- byte-aligned integers in accordance with the target endianness.
+ <li>Non-ABI-aligned fields are packed into the smallest possible
+ ABI-aligned integers in accordance with the target endianness.
</li>
</ul>
<p>
@@ -2213,10 +2213,10 @@ fn bar(x: *const u3) u3 {
{#code_end#}
<p>
In this case, the function {#syntax#}bar{#endsyntax#} cannot be called becuse the pointer
- to the non-byte-aligned field mentions the bit offset, but the function expects a byte-aligned pointer.
+ to the non-ABI-aligned field mentions the bit offset, but the function expects an ABI-aligned pointer.
</p>
<p>
- Pointers to non-byte-aligned fields share the same address as the other fields within their host integer:
+ Pointers to non-ABI-aligned fields share the same address as the other fields within their host integer:
</p>
{#code_begin|test#}
const std = @import("std");