有没有办法列出Perl 6中本机​​接口可用的功能和数据结构?

时间:2018-04-24 10:37:30

标签: perl6 raku nativecall

主要是为了创建合理的示例,我想知道哪些数据结构和rountes可用于Perl6的native接口,如

class a-class is repr('CStruct') { has int $.whatever; }
class another-class is repr('CPPStruct') { has int $.whateverelse; }
sub a_native_function( another-class $object ) is native {*};

有没有办法列出它们?我特别想获得C ++函数和数据结构的示例,因此我不必创建和编译外部库来创建示例。

0 个答案:

没有答案