summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2017-08-30 22:33:45 +0100
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2017-09-04 10:11:33 +0100
commitae2cf9f62925677edff191c3f0de1a05a16e4f2f (patch)
tree16e475e95258aa9a38ee0d53bc743ab825697450 /embed.fnc
parent5609e9536ed19df7ba0ce6808af4930577ade58f (diff)
downloadperl-ae2cf9f62925677edff191c3f0de1a05a16e4f2f.tar.gz
Add new API function sv_rvunweaken
Needed to fix in-place sort of weak references in a future commit. Stolen from Scalar::Util::unweaken, which will be made to use this when available via CPAN upstream.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index b0a362b294..40606f6480 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1980,6 +1980,7 @@ Apdmb |void |sv_force_normal|NN SV *sv
Apd |void |sv_force_normal_flags|NN SV *const sv|const U32 flags
pX |SSize_t|tmps_grow_p |SSize_t ix
Apd |SV* |sv_rvweaken |NN SV *const sv
+Apd |SV* |sv_rvunweaken |NN SV *const sv
AnpMd |SV* |sv_get_backrefs|NN SV *const sv
: This is indirectly referenced by globals.c. This is somewhat annoying.
p |int |magic_killbackrefs|NN SV *sv|NN MAGIC *mg