summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-10-06 22:09:19 -0600
committerKarl Williamson <khw@cpan.org>2020-10-08 08:23:29 -0600
commit23f5c29f15e3fdadcf23a3ae28f3fc0bd738fd88 (patch)
tree75207b0b6111aa526eb99e92863a6ade78196a47 /perl.h
parent63dbc4a91c68a3c71151bea88c954216456c5655 (diff)
downloadperl-23f5c29f15e3fdadcf23a3ae28f3fc0bd738fd88.tar.gz
Add details to pod for foo(MAX|INT)_C entries
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index a5cb4308cc..e663311750 100644
--- a/perl.h
+++ b/perl.h
@@ -1056,6 +1056,7 @@ Returns a token the C compiler recognizes for the constant C<number> of the
corresponding integer type on the machine.
If the machine does not have a 64-bit type, C<INT64_C> is undefined.
+Use C<L</INTMAX_C>> to get the largest type available on the platform.
=for apidoc Am|U16|UINT16_C|number
=for apidoc_item |U32|UINT32_C|number
@@ -1065,6 +1066,7 @@ Returns a token the C compiler recognizes for the constant C<number> of the
corresponding unsigned integer type on the machine.
If the machine does not have a 64-bit type, C<UINT64_C> is undefined.
+Use C<L</UINTMAX_C>> to get the largest type available on the platform.
=cut
@@ -1143,6 +1145,10 @@ long>s, C<INTMAX_C(-1)> would yield
-1LL
+See also, for example, C<L</INT32_C>>.
+
+Use L</IV> to declare variables of the maximum usable size on this platform.
+
=for apidoc Am||UINTMAX_C|number
Returns a token the C compiler recognizes for the constant C<number> of the
widest unsigned integer type on the machine. For example, if the machine has
@@ -1150,6 +1156,10 @@ C<long>s, C<UINTMAX_C(1)> would yield
1UL
+See also, for example, C<L</UINT32_C>>.
+
+Use L</UV> to declare variables of the maximum usable size on this platform.
+
=cut
*/