Help language development. Donate to The Perl Foundation

Inline cpan:FROGGS last updated on 2014-10-07

README.md
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;
        }
    '}