From 698a4c0ba0e389910a4b72e3f56956a721e3a9a4 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Mon, 10 Jun 2024 14:50:08 -0600 Subject: [PATCH] perlapi: Combine vdeb entry with the deb/no_context one --- deb.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/deb.c b/deb.c index 1ba31cf555f4..691fced7efec 100644 --- a/deb.c +++ b/deb.c @@ -44,17 +44,20 @@ Perl_deb_nocontext(const char *pat, ...) /* =for apidoc deb =for apidoc_item deb_nocontext +=for apidoc_item vdeb -When perl is compiled with C<-DDEBUGGING>, this prints to STDERR the +When perl is compiled with C<-DDEBUGGING>, these each print to STDERR the information given by the arguments, prefaced by the name of the file containing the script causing the call, and the line number within that file. If the C (verbose) debugging option is in effect, the process id is also printed. -The two forms differ only in that C does not take a thread -context (C) parameter, so is used in situations where the caller doesn't -already have the thread context. +C and C differ only in that C does not take +a thread context (C) parameter, so is used in situations where the caller +doesn't already have the thread context. + +C is the same as C except C are an encapsulated argument list. =cut */ @@ -73,14 +76,6 @@ Perl_deb(pTHX_ const char *pat, ...) va_end(args); } -/* -=for apidoc vdeb - -This is like C>, but C are an encapsulated argument list. - -=cut -*/ - void Perl_vdeb(pTHX_ const char *pat, va_list *args) {