Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Latest commit

 

History

History
16 lines (12 loc) · 268 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 268 Bytes

p6-Inline-C

USAGE

#!/usr/bin/env perl6

use soft; # for now
use Inline;

my sub a_plus_b( Int $a, Int $b ) is inline('C') returns Int {'
    DLLEXPORT int a_plus_b (int a, int b) {
        return a + b;
    }
'}