Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4a7ea2a9b0
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 17 lines (12 sloc) 0.268 kb

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;
    }
'}
Something went wrong with that request. Please try again.