| ... | @@ -2127,6 +2127,8 @@ test "linked list" { | ... | @@ -2127,6 +2127,8 @@ test "linked list" { |
| 2127 | {#header_open|extern struct#} | 2127 | {#header_open|extern struct#} |
| 2128 | <p>An {#syntax#}extern struct{#endsyntax#} has in-memory layout guaranteed to match the | 2128 | <p>An {#syntax#}extern struct{#endsyntax#} has in-memory layout guaranteed to match the |
| 2129 | C ABI for the target.</p> | 2129 | 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> |
| 2130 | {#see_also|extern union|extern enum#} | 2132 | {#see_also|extern union|extern enum#} |
| 2131 | {#header_close#} | 2133 | {#header_close#} |
| 2132 | | 2134 | |