Skip to content

Commit ee840d1

Browse files
committed
perlintern: Certain functions wrongly marked visible
deprecate(), deprecate_disappears_in(), and deprecate_fatal_in() were marked as publicly visible in the apidoc declarations. They are not; they are available only in the perl core.
1 parent 3fcf96f commit ee840d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

handy.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2955,13 +2955,13 @@ last-inclusive range.
29552955
CPAN::Unpack show any users outside the core.
29562956
29572957
=for apidoc_section $warning
2958-
=for apidoc Cdm||deprecate|U32 category|"message"
2958+
=for apidoc dm||deprecate|U32 category|"message"
29592959
Wrapper around Perl_ck_warner_d() to produce a deprecated warning in the
29602960
given category with an appropriate message. The C<message> argument must
29612961
be a C string. The string " is deprecated" will automatically be added
29622962
to the end of the C<message>.
29632963
2964-
=for apidoc Cdm||deprecate_disappears_in|U32 category|"when"|"message"
2964+
=for apidoc dm||deprecate_disappears_in|U32 category|"when"|"message"
29652965
Wrapper around Perl_ck_warner_d() to produce a deprecated warning in the
29662966
given category with an appropriate message that the construct referred
29672967
to by the message will disappear in a specific release. The C<when> and
@@ -2971,7 +2971,7 @@ message output will be the result of the following expression C<message
29712971
" is deprecated, and will disappear in Perl " when> which is why C<message>
29722972
and C<when> must be literal C strings.
29732973
2974-
=for apidoc Cdm||deprecate_fatal_in|U32 category|"when"|"message"
2974+
=for apidoc dm||deprecate_fatal_in|U32 category|"when"|"message"
29752975
Wrapper around Perl_ck_warner_d() to produce a deprecated warning in the
29762976
given category with an appropriate message that the construct referred
29772977
to by the message will become fatal in a specific release. The C<when>

0 commit comments

Comments
 (0)