From ebaa1d420431718142617f2d4089261fea68190a Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 22 Jul 2020 16:51:37 -0600 Subject: [PATCH] Document INTMAX_C, UINTMAX_C --- perl.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/perl.h b/perl.h index e678343..4d53dd6 100644 --- a/perl.h +++ b/perl.h @@ -1075,6 +1075,24 @@ EXTERN_C int usleep(unsigned int); # define UINT64_C(c) PeRl_UINT64_C(c) # endif +/* +=for apidoc Am||INTMAX_C|number +Returns a token the C compiler recognizes for the constant C of the +widest integer type on the machine. For example, if the machine has Cs, C would yield + + -1LL + +=for apidoc Am||UINTMAX_C|number +Returns a token the C compiler recognizes for the constant C of the +widest unsigned integer type on the machine. For example, if the machine has +Cs, C would yield + + 1UL + +=cut +*/ + # ifndef I_STDINT typedef I64TYPE PERL_INTMAX_T; typedef U64TYPE PERL_UINTMAX_T; -- 1.8.3.1