diff options
author | Yves Orton <demerphq@gmail.com> | 2022-12-21 13:15:25 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2022-12-22 09:38:25 +0100 |
commit | 8da47909ef02588ed31b30b7db5e534f747c4273 (patch) | |
tree | 123da12c2eb57073f5272a7026e0eec5f8cc58f9 /embed.fnc | |
parent | 81f4fdd02b22307b1419b00cdf59e23a678bc5d5 (diff) | |
download | perl-8da47909ef02588ed31b30b7db5e534f747c4273.tar.gz |
gv.c - rename amagic_find() to amagic_applies()
The api for amagic_find() didnt make as much as sense as we thought
at first. Most people will be using this as a predicate, and don't
care about the returned CV, so to simplify things until we can really
think this through the required API this switches it to return
a bool and renames it to amagic_applies(), as in "which amagic_applies
to this sv".
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -635,7 +635,7 @@ XEop |bool |try_amagic_bin |int method|int flags XEop |bool |try_amagic_un |int method|int flags Apd |SV* |amagic_call |NN SV* left|NN SV* right|int method|int dir Apd |SV * |amagic_deref_call|NN SV *ref|int method -Apd |CV * |amagic_find |NN SV *sv|int method|int flags +Xpd |bool |amagic_applies |NN SV *sv|int method|int flags p |bool |amagic_is_enabled|int method Apd |int |Gv_AMupdate |NN HV* stash|bool destructing CpdR |CV* |gv_handler |NULLOK HV* stash|I32 id |