Created
October 14, 2019 18:19
-
-
Save Whateverable/0f563cb1984e1b0364371e131b64e3d7 to your computer and use it in GitHub Desktop.
committable6
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; role LA[::T] { my int $sol = nativesizeof(T); sub calloc(size_t,size_t --> Pointer) is native(Str) { * }; method new(::?CLASS:U: Int $size) { with calloc($size, $sol) -> $storage { say $storage } }; }; my $la = LA[Pointer].new(19); |
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
¦«2015.12»: | |
NativeCall::Types::Pointer<0x5ed9cc0> | |
¦«2016.01.1»: | |
NativeCall::Types::Pointer<0x6201540> | |
¦«2016.02»: | |
NativeCall::Types::Pointer<0x6ed2e60> | |
¦«2016.03»: | |
NativeCall::Types::Pointer<0x63c3370> | |
¦«2016.04»: | |
NativeCall::Types::Pointer<0x5679c90> | |
¦«2016.05»: | |
NativeCall::Types::Pointer<0x5e8f950> | |
¦«2016.06»: | |
NativeCall::Types::Pointer<0x4f16450> | |
¦«2016.07.1»: | |
NativeCall::Types::Pointer<0x4b0e380> | |
¦«2016.08.1»: | |
NativeCall::Types::Pointer<0x4c469b0> | |
¦«2016.09»: | |
NativeCall::Types::Pointer<0x5b65e80> | |
¦«2016.10»: | |
NativeCall::Types::Pointer<0x40c1c80> | |
¦«2016.11»: | |
NativeCall::Types::Pointer<0x55a7984005c0> | |
¦«2016.12»: | |
NativeCall::Types::Pointer<0x555e6162fa70> | |
¦«2017.01»: | |
NativeCall::Types::Pointer<0x55e39c3067b0> | |
¦«2017.02»: | |
NativeCall::Types::Pointer<0x5613cd999090> | |
¦«2017.03»: | |
NativeCall::Types::Pointer<0x56440c1ceda0> | |
¦«2017.04.3»: | |
NativeCall::Types::Pointer<0x3077190> | |
¦«2017.05»: | |
NativeCall::Types::Pointer<0x5654059e2910> | |
¦«2017.06»: | |
NativeCall::Types::Pointer<0x55a9a61d4320> | |
¦«2017.07»: | |
NativeCall::Types::Pointer<0x56077b2293a0> | |
¦«2017.08»: | |
NativeCall::Types::Pointer<0x5024cc0> | |
¦«2017.09»: | |
NativeCall::Types::Pointer<0x48ae820> | |
¦«2017.10»: | |
NativeCall::Types::Pointer<0x5642af10f910> | |
¦«2017.11»: | |
NativeCall::Types::Pointer<0x55c4061f2580> | |
¦«2017.12»: | |
NativeCall::Types::Pointer<0x55c91997e360> | |
¦«2018.01»: | |
NativeCall::Types::Pointer<0x564a45a99f80> | |
¦«2018.02.1»: | |
NativeCall::Types::Pointer<0x555d9a19a030> | |
¦«2018.03»: | |
NativeCall::Types::Pointer<0x559e6b74d760> | |
¦«2018.04.1»: | |
NativeCall::Types::Pointer<0x55f8fb5eef50> | |
¦«2018.05»: | |
NativeCall::Types::Pointer<0x55d314c01490> | |
¦«2018.06»: | |
NativeCall::Types::Pointer<0x562508ce4180> | |
¦«2018.08»: | |
NativeCall::Types::Pointer<0x558f3afe0750> | |
¦«2018.09»: | |
NativeCall::Types::Pointer<0x560ce9e07030> | |
¦«2018.10»: | |
NativeCall::Types::Pointer<0x55f2fc82d2e0> | |
¦«2018.11»: | |
NativeCall::Types::Pointer<0x557c18f6aa80> | |
¦«2018.12»: | |
NativeCall::Types::Pointer<0x563ea6724ad0> | |
¦«2019.03.1»: | |
NativeCall::Types::Pointer<0x55d31c188fd0> | |
¦«2019.07.1»: | |
NativeCall::Types::Pointer<0x55725b6f50b0> | |
¦«HEAD(6f086e6)»: | |
Type check failed for return value; expected NativeCall::Types::Pointer but got Whatever (*) | |
in sub calloc at /tmp/UxerOpa4Vf line 1 | |
in method new at /tmp/UxerOpa4Vf line 1 | |
in block <unit> at /tmp/UxerOpa4Vf line 1 | |
«exit code = 1» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment