File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -466,7 +466,7 @@ Note that at the moment it's not as tested and developed as C support.
466
466
The C < NativeCall > library exports several subroutines to help you work with
467
467
data fron native libraries.
468
468
469
- = head2 X < sub nativecast|sub >
469
+ = head2 sub X < nativecast|sub >
470
470
471
471
sub nativecast($target-type, $source) is export(:DEFAULT)
472
472
@@ -481,15 +481,15 @@ a C<subroutine> will be returned which will call the native function pointed to
481
481
in the same way as a subroutine declared with the C < native > trait. This is described in
482
482
L < Function Pointers|#Function_Pointers > .
483
483
484
- = head2 X < sub cglobal|sub >
484
+ = head2 sub X < cglobal|sub >
485
485
486
486
sub cglobal($libname, $symbol, $target-type) is export is rw
487
487
488
488
This returns a L < Proxy|/type/Proxy > object that provides access to the C < extern > named C < $symbol > that
489
489
is exposed by the specified library. The library can be specified in the same ways that
490
490
they can be to the C < native > trait.
491
491
492
- = head2 X < sub nativesizeof|sub >
492
+ = head2 sub X < nativesizeof|sub >
493
493
494
494
sub nativesizeof($obj) is export(:DEFAULT)
495
495
You can’t perform that action at this time.
0 commit comments