Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Created September 16, 2012 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FROGGS/3732397 to your computer and use it in GitHub Desktop.
Save FROGGS/3732397 to your computer and use it in GitHub Desktop.
inline
sub aplusb( Int $a, Int $b ) is inline('C') {'
int aplusb (int a, int b) {
return a + b;
}
'}
say aplusb( 7, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment