From 7801a6d17f59091b62ae130dcd14cdd5cd2f180e Mon Sep 17 00:00:00 2001 From: Nathan Michaels Date: Tue, 15 Sep 2020 22:47:27 -0400 Subject: Fix a typo. --- doc/langref.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 10bc81e6df..dce23a43e4 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -9728,7 +9728,7 @@ const c = @cImport({
  • Does not support Zig-only pointer attributes such as alignment. Use normal {#link|Pointers#} please!
  • -

    When a C pointer is pointing to a single struct (not an array), deference the C pointer to +

    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:

    {#syntax#}ptr_to_struct.*.struct_member{#endsyntax#}

    -- cgit v1.2.3