Created
September 2, 2019 13:40
-
-
Save Whateverable/039d7b5b2963a245efd80819087521fd 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/WrZadedRaL line 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment