Created
September 2, 2019 13:39
-
-
Save Whateverable/634c6c9e7d5d61410f1c6a7b7b97f4fd to your computer and use it in GitHub Desktop.
evalable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use NativeCall; my Str $s = 'Hello'; my $sp = nativecast(Pointer, $s); say $sp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(exit code 1) | |
Native call cast expected return type with CPointer, CStruct, CArray, or VMArray representation, but got a P6opaque (Str) | |
in sub nativecast at /tmp/whateverable/rakudo-moar/b380fd207b529ecb3e9bc3cbc9358ecf8a90dd2c/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 687 | |
in block <unit> at /tmp/DSMveReC8r line 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment