Skip to content

Commit

Permalink
Fixes syntax error closes Raku#4027
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Feb 9, 2022
1 parent f5f26bd commit 1fc1d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Language/nativecall.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ You have to call X<C<.deref>|deref> on C<Pointer>s to access the embedded type.
In the example above, declaring the type of the pointer avoids typecasting error
when dereferenced. Please note that the original
L<C<strdup>|https://en.cppreference.com/w/c/experimental/dynamic/strdup> returns
a pointer to C<char>; we are using C<Pointer<Str>>.
a pointer to C<char>; we are using C<Pointer[Str]>.
=begin code :skip-test<external dependency>
my Pointer[int32] $p; #For a pointer on int32;
Expand Down

0 comments on commit 1fc1d1e

Please sign in to comment.