Skip to content

Commit

Permalink
Add link
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Feb 9, 2022
1 parent 48b3951 commit 7365194
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/Language/nativetypes.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ my Pointer[void] $for-malloc = malloc( 32 );
say $for-malloc.raku;
=end code
As the example shows, it's represented by a parametrized C<Pointer> role,
As the example shows, it's represented by a parametrized
L<C<Pointer> role|/language/nativecall#index-entry-Pointer>,
using as parameter whatever the original pointer is pointing to (in this
case, C<void>). This role represents native pointers, and can be used
wherever they need to be represented in a Raku program.
Expand Down

0 comments on commit 7365194

Please sign in to comment.