You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ perl6 -MNativeCall -e 'class A is repr("CStruct") { has $.a; }'
===SORRY!=== Error while compiling -e
CStruct representation only handles int, num, CArray, CPointer, CStruct, CPPStruct and CUnion
at -e:1
It looks wrong for me, because the Perl 6 official document says:
Don't use Perl 6 native types like int or num, as they don't have to correspond to the local C equivalent (e.g., Perl 6's int can be 8 bytes but C's int is only 4 bytes).
Migrated from rt.perl.org#129353 (status was 'resolved')
Searchable as RT129353$
The text was updated successfully, but these errors were encountered: