summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-09-24 00:37:58 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-09-24 00:37:58 -0700
commitecf05a582e3c4c0f74622847331af430479c4fcb (patch)
tree85f4cb5bbd727d64bcbf6c173eb8731f66cb87fe /embed.fnc
parent5e8814954c268f117d70c5156096c5bf7bb1cff7 (diff)
downloadperl-ecf05a582e3c4c0f74622847331af430479c4fcb.tar.gz
Add flags to cv_name; allow unqualified retval
One of the main purposes of cv_name was to provide a way for CPAN mod- ules easily to obtain the name of a sub. As written, it was not actually sufficient, as some modules, such as Devel::Declare, need an unqualified name. So I am breaking compatibility with 5.21.4 (which introduced cv_name, but is only a dev release) by adding a flags parameter.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index ee8ca59dbc..f9ba3f626b 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -316,7 +316,7 @@ ApdRn |SV* |cv_const_sv |NULLOK const CV *const cv
pRn |SV* |cv_const_sv_or_av|NULLOK const CV *const cv
: Used in pad.c
pR |SV* |op_const_sv |NULLOK const OP* o|NULLOK CV* cv
-Apd |SV * |cv_name |NN CV *cv|NULLOK SV *sv
+Apd |SV * |cv_name |NN CV *cv|NULLOK SV *sv|U32 flags
Apd |void |cv_undef |NN CV* cv
p |void |cv_undef_flags |NN CV* cv|U32 flags
p |void |cv_forget_slab |NN CV *cv