From: Nick Ing-Simmons Date: Sun, 18 Nov 2001 13:23:33 +0000 (+0000) Subject: embed.pl generated changes I forgot to include X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=543c00c93a3f7ccd573dc2e23ffd06654cf38058;p=p5sagit%2Fp5-mst-13.2.git embed.pl generated changes I forgot to include p4raw-id: //depot/perlio@13068 --- diff --git a/embedvar.h b/embedvar.h index 7748218..89c21e5 100644 --- a/embedvar.h +++ b/embedvar.h @@ -1338,6 +1338,8 @@ #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) #define PL_thr_key (PL_Vars.Gthr_key) @@ -1352,6 +1354,8 @@ #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 #define PL_Gthr_key PL_thr_key diff --git a/perlapi.h b/perlapi.h index c247aae..f200326 100644 --- a/perlapi.h +++ b/perlapi.h @@ -937,6 +937,10 @@ 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 #define PL_sharedsv_space (*Perl_Gsharedsv_space_ptr(NULL)) #undef PL_sharedsv_space_mutex diff --git a/pod/perlapi.pod b/pod/perlapi.pod index 79fbc93..fcf446e 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -1404,6 +1404,17 @@ 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 @@ -1417,17 +1428,6 @@ 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 -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 -=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