summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embedvar.h4
-rw-r--r--perlapi.h4
-rw-r--r--pod/perlapi.pod38
3 files changed, 27 insertions, 19 deletions
diff --git a/embedvar.h b/embedvar.h
index 7748218c6d..89c21e5ceb 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 c247aae557..f200326785 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 79fbc932a2..fcf446eadb 100644
--- a/pod/perlapi.pod
+++ b/pod/perlapi.pod
@@ -1404,6 +1404,17 @@ SV is B<not> 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<NEWSV>
+macro.
+
+ SV* newSV(STRLEN len)
+
+=for hackers
+Found in file sv.c
+
=item NEWSV
Creates a new SV. A non-zero C<len> parameter indicates the number of
@@ -1417,17 +1428,6 @@ C<id> 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<NEWSV>
-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<SvUV> 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<SvUV()>.
- 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<SvUV()>.
+Coerces the given SV to an unsigned integer and returns it. Guarantees to
+evaluate sv only once. Use the more efficient C<SvUV> otherwise.
- UV SvUVX(SV* sv)
+ UV SvUVx(SV* sv)
=for hackers
Found in file sv.h