diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-09-21 21:16:46 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-21 21:16:46 -0700 |
| commit | 0c70bb4fce8b0460f86ed218f54ba31b291f2bfb (patch) | |
| tree | 1e0ad8f9ea76b30e52753a2f25f5f1d18d25896d /doc | |
| parent | afac5d28951cfd913851094649e8b9f2136694ca (diff) | |
| parent | 58ee5f4e61cd9b7a9ba65798e2214efa3753a733 (diff) | |
| download | zig-0c70bb4fce8b0460f86ed218f54ba31b291f2bfb.tar.gz zig-0c70bb4fce8b0460f86ed218f54ba31b291f2bfb.zip | |
Merge remote-tracking branch 'origin/master' into stage2-zig-cc
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index 038aadd45f..740984619b 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -9728,7 +9728,7 @@ const c = @cImport({ <li>Does not support Zig-only pointer attributes such as alignment. Use normal {#link|Pointers#} please!</li> </ul> - <p>When a C pointer is pointing to a single struct (not an array), deference the C pointer to + <p>When a C pointer is pointing to a single struct (not an array), dereference the C pointer to access to the struct's fields or member data. That syntax looks like this: </p> <p>{#syntax#}ptr_to_struct.*.struct_member{#endsyntax#}</p> |
