Casey West <casey@geeknest.com> writes: >It was Friday, November 14, 2003 when Stas Bekman took the soap box, saying: >: Can someone with some spare time on they hands help us to introduce the new >: APIs which accept pTHX_ instead of declaring dTHX, and deploy them in the >: core, that would be a very noble conribution. >: > >--- perl-current-orig/deb.c Wed Apr 16 14:25:36 2003 >+++ perl-current/deb.c Sat Nov 15 15:04:36 2003 >@@ -19,10 +19,9 @@ > > #if defined(PERL_IMPLICIT_CONTEXT) > void >-Perl_deb_nocontext(const char *pat, ...) >+Perl_deb_nocontext(pTHX_ const char *pat, ...) > { > #ifdef DEBUGGING >- dTHX; > va_list args; > va_start(args, pat); > vdeb(pat, &args); I _think_ that Perl_xxx_nocontext are explicit extra API points for Perl_xxx() where a pTHX is not available. e.g. there is already Perl_deb(pTHX_,...) In such cases Stas's request becomes one to _use_ Perl_deb() rather than Perl_deb_nocontext() in the core.Thread Previous | Thread Next