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
Copy file name to clipboardExpand all lines: doc/Language/nativetypes.pod6
+42-3Lines changed: 42 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,11 @@
4
4
5
5
=SUBTITLEUsing the types the compiler and hardware make available to you.
6
6
7
+
X<|int>X<|uint>X<|num>X<|str>
8
+
=head1Types with native representation
9
+
7
10
Some simple types in Perl 6 have a I<native> representation, indicating that they will use the C language representation provided by the compiler, operating system and machine. These are the four native types available:
8
11
9
-
X<|int>X<|uint>X<|num>X<|str>
10
12
=begintable
11
13
int Equivalent to Int
12
14
uint Equivalent to Int with the unsigned trait
@@ -19,20 +21,57 @@ L<NativeCall|/lang/nativecall> interface (e.g., Perl 6's C<int> can be 8 bytes
19
21
but C's C<int> is only 4 bytes). Instead, the types below will have to be used
20
22
instead of the types C<int> or C<num> listed above.
0 commit comments