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
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,9 @@ more information on them.
12
12
X<|int>X<|uint>X<|num>X<|str>
13
13
=head1Types with native representation
14
14
15
-
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:
15
+
Some simple types in Perl 6 have a I<native> representation, indicating that
16
+
they will use the C language representation provided by the compiler, operating
17
+
system and machine. These are the four native types available:
16
18
17
19
=begintable
18
20
int Equivalent to Int
@@ -22,9 +24,9 @@ Some simple types in Perl 6 have a I<native> representation, indicating that th
22
24
=endtable
23
25
24
26
However, these types do not necessarily have the size that is required by the
25
-
L<NativeCall|/language/nativecall> interface (e.g., Perl 6's C<int> can be 8 bytes
26
-
but C's C<int> is only 4 bytes). Instead, the types below will have to be used
27
-
instead of the types C<int> or C<num> listed above.
27
+
L<NativeCall|/language/nativecall> interface (e.g., Perl 6's C<int> can be 8
28
+
bytes but C's C<int> is only 4 bytes). Instead, the types below will have to be
29
+
used instead of the types C<int> or C<num> listed above.
28
30
29
31
In general, these variables will behave in the same way as regular scalar
0 commit comments