authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-04-04 01:23:41-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-04-04 01:23:41-04:00
log90b6eab05a15f134a492ecebfc53a5c5e4442d8a
treeb29ee2633f9c2d271aabefd00e949d205588932d
parente4d595a8ba2e4466dc29bec7bc90a04420b34d4d
signaturelock-open Commit is signed but in an unrecognized format.

docs: complete the documentation for extern struct

closes #1522

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

doc/langref.html.in+2
......@@ -2127,6 +2127,8 @@ test "linked list" {
21272127 {#header_open|extern struct#}
21282128 <p>An {#syntax#}extern struct{#endsyntax#} has in-memory layout guaranteed to match the
21292129 C ABI for the target.</p>
2130 <p>This kind of struct should only be used for compatibility with the C ABI. Every other
2131 use case should be solved with {#link|packed struct#} or normal {#link|struct#}.</p>
21302132 {#see_also|extern union|extern enum#}
21312133 {#header_close#}
21322134