Skip to content

Commit

Permalink
Minor grammar tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Feb 10, 2022
1 parent 70a96d3 commit 6b9ae52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Language/nativecall.pod6
Expand Up @@ -187,8 +187,8 @@ When the signature of your native function needs a pointer to some native type
sub my_version(int32 is rw, int32 is rw) is native('foo') { * }
my_version(my int32 $major, my int32 $minor); # Pass a pointer to
When you just want to use/pass a pointer using Pointer class you have to
create the pointers when you declare them. Then you can do this without specifying
When you just want to use/pass a pointer using the C<Pointer> class you have to
create the pointers when declaring them; then you can do this without specifying
what type it points to. Here is an example:
use NativeCall;
Expand Down

0 comments on commit 6b9ae52

Please sign in to comment.