summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-08-04 14:23:27 -0300
committerTony Cook <tony@develop-help.com>2013-09-11 10:28:30 +1000
commit930867a8e4ffdf642ef15c92e6f3a6d118965559 (patch)
tree9bd7bf08a27569e3e83c06fd53460c5a790d75a9 /proto.h
parent070dc47562b0f958a4767d69f47c6cf47cb7e230 (diff)
downloadperl-930867a8e4ffdf642ef15c92e6f3a6d118965559.tar.gz
gv.c: Rename magicalize_gv into gv_magicalize, make it more specific.
Namely, gv_magicalize no longer stores the GV into the stash, which is gv_fetchpvn_flags' job.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/proto.h b/proto.h
index 4cb3e47e1a..bc09541224 100644
--- a/proto.h
+++ b/proto.h
@@ -5729,18 +5729,18 @@ STATIC void S_gv_init_svtype(pTHX_ GV *gv, const svtype sv_type)
#define PERL_ARGS_ASSERT_GV_INIT_SVTYPE \
assert(gv)
-STATIC void S_gv_magicalize_isa(pTHX_ GV *gv)
- __attribute__nonnull__(pTHX_1);
-#define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA \
- assert(gv)
-
-STATIC GV* S_magicalize_gv(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, bool addmg, svtype sv_type)
+STATIC bool S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, bool addmg, svtype sv_type)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2)
__attribute__nonnull__(pTHX_3);
-#define PERL_ARGS_ASSERT_MAGICALIZE_GV \
+#define PERL_ARGS_ASSERT_GV_MAGICALIZE \
assert(gv); assert(stash); assert(name)
+STATIC void S_gv_magicalize_isa(pTHX_ GV *gv)
+ __attribute__nonnull__(pTHX_1);
+#define PERL_ARGS_ASSERT_GV_MAGICALIZE_ISA \
+ assert(gv)
+
STATIC void S_maybe_multimagic_gv(pTHX_ GV *gv, const char *name, const svtype sv_type)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2);