Skip to content

Commit 9800625

Browse files
committed
perl.h move some apidoc lines adjacent to #defines
The documentation should be close to the definition
1 parent 301cb0b commit 9800625

File tree

1 file changed

+23
-15
lines changed

1 file changed

+23
-15
lines changed

perl.h

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8010,22 +8010,7 @@ END_EXTERN_C
80108010
80118011
=for apidoc_defn AmTR|NV|Strtod|NN const char * const s|NULLOK char **e
80128012
8013-
=for apidoc AmTR|NV|Strtol|NN const char * const s|NULLOK char ** e|int base
8014-
8015-
Platform and configuration independent C<strtol>. This expands to the
8016-
appropriate C<strotol>-like function based on the platform and F<Configure>
8017-
options>. For example it could expand to C<strtoll> or C<strtoq> instead of
8018-
C<strtol>.
8019-
8020-
=for apidoc AmTR|NV|Strtoul|NN const char * const s|NULLOK char ** e|int base
8021-
8022-
Platform and configuration independent C<strtoul>. This expands to the
8023-
appropriate C<strotoul>-like function based on the platform and F<Configure>
8024-
options>. For example it could expand to C<strtoull> or C<strtouq> instead of
8025-
C<strtoul>.
8026-
80278013
=cut
8028-
80298014
*/
80308015

80318016
#define Strtod my_strtod
@@ -8037,6 +8022,17 @@ C<strtoul>.
80378022
# define Perl_strtod Strtod
80388023
#endif
80398024

8025+
8026+
/*
8027+
=for apidoc AmTR|NV|Strtol|NN const char * const s|NULLOK char ** e|int base
8028+
8029+
Platform and configuration independent C<strtol>. This expands to the
8030+
appropriate C<strotol>-like function based on the platform and F<Configure>
8031+
options>. For example it could expand to C<strtoll> or C<strtoq> instead of
8032+
C<strtol>.
8033+
8034+
=cut
8035+
*/
80408036
#if !defined(Strtol) && defined(USE_64_BIT_INT) && defined(IV_IS_QUAD) && \
80418037
(QUADKIND == QUAD_IS_LONG_LONG || QUADKIND == QUAD_IS___INT64)
80428038
# ifdef __hpux
@@ -8071,6 +8067,18 @@ C<strtoul>.
80718067
# endif
80728068
#endif
80738069

8070+
8071+
/*
8072+
=for apidoc AmTR|NV|Strtoul|NN const char * const s|NULLOK char ** e|int base
8073+
8074+
Platform and configuration independent C<strtoul>. This expands to the
8075+
appropriate C<strotoul>-like function based on the platform and F<Configure>
8076+
options>. For example it could expand to C<strtoull> or C<strtouq> instead of
8077+
C<strtoul>.
8078+
8079+
=cut
8080+
8081+
*/
80748082
#if !defined(Strtoul) && defined(USE_64_BIT_INT) && defined(UV_IS_QUAD) && \
80758083
(QUADKIND == QUAD_IS_LONG_LONG || QUADKIND == QUAD_IS___INT64)
80768084
# ifdef __hpux

0 commit comments

Comments
 (0)