From: Jarkko Hietaniemi Date: Mon, 19 Nov 2001 13:44:49 +0000 (+0000) Subject: The runops_dbg should not be needed. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fc3b67988d386db745bd1ff884719072b6338299;p=p5sagit%2Fp5-mst-13.2.git The runops_dbg should not be needed. p4raw-id: //depot/perl@13088 --- diff --git a/embedvar.h b/embedvar.h index 89c21e5..2e5fae0 100644 --- a/embedvar.h +++ b/embedvar.h @@ -1338,7 +1338,6 @@ #define PL_malloc_mutex (PL_Vars.Gmalloc_mutex) #define PL_op_mutex (PL_Vars.Gop_mutex) #define PL_patleave (PL_Vars.Gpatleave) -#define PL_runops_dbg (PL_Vars.Grunops_dbg) #define PL_runops_std (PL_Vars.Grunops_std) #define PL_sharedsv_space (PL_Vars.Gsharedsv_space) #define PL_sharedsv_space_mutex (PL_Vars.Gsharedsv_space_mutex) @@ -1354,7 +1353,6 @@ #define PL_Gmalloc_mutex PL_malloc_mutex #define PL_Gop_mutex PL_op_mutex #define PL_Gpatleave PL_patleave -#define PL_Grunops_dbg PL_runops_dbg #define PL_Grunops_std PL_runops_std #define PL_Gsharedsv_space PL_sharedsv_space #define PL_Gsharedsv_space_mutex PL_sharedsv_space_mutex diff --git a/perlapi.h b/perlapi.h index f200326..e5b3654 100644 --- a/perlapi.h +++ b/perlapi.h @@ -937,8 +937,6 @@ END_EXTERN_C #define PL_op_mutex (*Perl_Gop_mutex_ptr(NULL)) #undef PL_patleave #define PL_patleave (*Perl_Gpatleave_ptr(NULL)) -#undef PL_runops_dbg -#define PL_runops_dbg (*Perl_Grunops_dbg_ptr(NULL)) #undef PL_runops_std #define PL_runops_std (*Perl_Grunops_std_ptr(NULL)) #undef PL_sharedsv_space diff --git a/perlvars.h b/perlvars.h index 606f7a5..09d6394 100644 --- a/perlvars.h +++ b/perlvars.h @@ -41,7 +41,6 @@ PERLVAR(Gsharedsv_space, PerlInterpreter*) /* The shared sv space */ PERLVAR(Gsharedsv_space_mutex, perl_mutex) /* Mutex protecting the shared sv space */ #endif -/* Force inclusion of both runops options */ +/* Force inclusion of runops */ PERLVARI(Grunops_std, runops_proc_t, MEMBER_TO_FPTR(Perl_runops_standard)) -PERLVARI(Grunops_dbg, runops_proc_t, MEMBER_TO_FPTR(Perl_runops_debug)) diff --git a/pod/perlapi.pod b/pod/perlapi.pod index fcf446e..79fbc93 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -1404,17 +1404,6 @@ SV is B incremented. =for hackers Found in file sv.c -=item newSV - -Create a new null SV, or if len > 0, create a new empty SVt_PV type SV -with an initial PV allocation of len+1. Normally accessed via the C -macro. - - SV* newSV(STRLEN len) - -=for hackers -Found in file sv.c - =item NEWSV Creates a new SV. A non-zero C parameter indicates the number of @@ -1428,6 +1417,17 @@ C is an integer id between 0 and 1299 (used to identify leaks). =for hackers Found in file handy.h +=item newSV + +Create a new null SV, or if len > 0, create a new empty SVt_PV type SV +with an initial PV allocation of len+1. Normally accessed via the C +macro. + + SV* newSV(STRLEN len) + +=for hackers +Found in file sv.c + =item newSViv Creates a new SV and copies an integer into it. The reference count for the @@ -2967,22 +2967,22 @@ for a version which guarantees to evaluate sv only once. =for hackers Found in file sv.h -=item SvUVX +=item SvUVx -Returns the raw value in the SV's UV slot, without checks or conversions. -Only use when you are sure SvIOK is true. See also C. +Coerces the given SV to an unsigned integer and returns it. Guarantees to +evaluate sv only once. Use the more efficient C otherwise. - UV SvUVX(SV* sv) + UV SvUVx(SV* sv) =for hackers Found in file sv.h -=item SvUVx +=item SvUVX -Coerces the given SV to an unsigned integer and returns it. Guarantees to -evaluate sv only once. Use the more efficient C otherwise. +Returns the raw value in the SV's UV slot, without checks or conversions. +Only use when you are sure SvIOK is true. See also C. - UV SvUVx(SV* sv) + UV SvUVX(SV* sv) =for hackers Found in file sv.h