Skip to content

Instantly share code, notes, and snippets.

@Skarsnik

Skarsnik/nc.p6 Secret

Last active January 29, 2016 14:05
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 Skarsnik/3f3bd0d14b7fd2c1f9ff to your computer and use it in GitHub Desktop.
Save Skarsnik/3f3bd0d14b7fd2c1f9ff to your computer and use it in GitHub Desktop.
# == examples/test.h ==
#-From examples/test.h:29
#void *do_stuff(s1 s,
# size_t piko,
# bool b,
# const char** const plo
# );
sub do_stuff(s1 $s # s1
,size_t $piko # Typedef(size_t)->|unsigned int|
,bool $b # bool
,Pointer[Str] $plo # const const char**
) is native(LIB) returns Pointer is export { * }
#-From examples/test.h:31
#int flood(char &ref);
sub flood(NYI(char&) $ref, # char&
) is native(LIB) returns int32 is export { * }
#-From examples/test.h:24
#void pretty_print(const char *toprint);
sub pretty_print(Str $toprint, # const char*
) is native(LIB) is export { * }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment