Created
August 18, 2012 08:10
-
-
Save tadzik/3385175 to your computer and use it in GitHub Desktop.
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
┌─[tadzik@yavin4]─[~/src/perl/OpenSSL-SHA1] | |
└─[%]─> cat test.pl | |
use NativeCall; | |
sub SHA1(Str, Int, OpaquePointer) returns Str is native('libssl') { | |
} | |
say SHA1("foo", 3, OpaquePointer); | |
┌─[tadzik@yavin4]─[~/src/perl/OpenSSL-SHA1] | |
└─[%]─> perl6 test.pl | |
Malformed UTF-8 string | |
in method postcircumfix:<( )> at lib/NativeCall.pm6:127 | |
in <anon> at src/gen/BOOTSTRAP.pm:824 | |
in any <anon> at src/gen/BOOTSTRAP.pm:820 | |
in block at test.pl:6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment