mirror of
https://github.com/ziglang/zig.git
synced 2026-01-27 17:55:24 +00:00
doc: usingnamespace imports only public decls
This commit is contained in:
parent
2f20833097
commit
efea7958f8
@ -5189,7 +5189,7 @@ test "@intToPtr for pointer to zero bit type" {
|
||||
|
||||
{#header_open|usingnamespace#}
|
||||
<p>
|
||||
{#syntax#}usingnamespace{#endsyntax#} is a top level declaration that imports all the declarations of
|
||||
{#syntax#}usingnamespace{#endsyntax#} is a top level declaration that imports all the public declarations of
|
||||
the operand, which must be a {#link|struct#}, {#link|union#}, or {#link|enum#}, into the current scope:
|
||||
</p>
|
||||
{#code_begin|test|usingnamespace#}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user