File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -497,8 +497,6 @@ say "foo is {$foo.a_string} and {$foo.an_int32}";
497
497
498
498
= head1 Typed Pointers
499
499
500
- = comment TODO
501
-
502
500
You can type your C < Pointer > by passing the type as a parameter. It works with
503
501
the native type but also with C < CArray > and C < CStruct > defined types. NativeCall
504
502
will not implicitly allocate the memory for it even when calling C < new > on them.
@@ -556,6 +554,10 @@ for 1 ..^ $n {
556
554
}
557
555
= end code
558
556
557
+ Void pointers can also be used by declaring them C < Pointer[void] > . Please
558
+ consult L < the native types documentation|/language/nativetypes#The_void_type >
559
+ for more information on the subject.
560
+
559
561
= head1 Strings
560
562
561
563
= head2 Explicit memory management
You can’t perform that action at this time.
0 commit comments