Skip to content

Nativecallable

Aleks-Daniel Jakimenko-Aleksejev edited this page Aug 8, 2019 · 4 revisions

⚠ This bot is experimental

This is an IRC bot for generating Perl 6 NativeCall code from C definitions. It can be addressed by its full name ('nativecallable6') or its short name ('nativecall'). The bot is using App::GPTrixie to do the conversion.

You can find some extra examples in tests: nativecallable.t

Usage examples

Basics

<Skarsnik> nativecallable6, struct s {char b[];};
<nativecallable6t> Skarsnik, class s is repr('CStruct') is export {␤ has CArray[int8] $.b; # char[] b␤}

Clone this wiki locally