主要是为了创建合理的示例,我想知道哪些数据结构和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 ++函数和数据结构的示例,因此我不必创建和编译外部库来创建示例。