summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2010-09-08 04:06:23 +0200
committerFlorian Ragwitz <rafl@debian.org>2010-09-08 04:06:23 +0200
commitad7cce9f36d376e55b45dd79ec28a7f795b5ae4e (patch)
tree832319c9b4466f99397bd7b81c6c5182a99b8317 /embed.h
parenta5ce339cb0c533c90d1033581bf794417d495928 (diff)
downloadperl-ad7cce9f36d376e55b45dd79ec28a7f795b5ae4e.tar.gz
Move magicalize_{isa,overload} out into functions
This way c++ compilers like us again, as we don't do jumps that skip initialisations anymore.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index c8830563b3..2e1fb69abc 100644
--- a/embed.h
+++ b/embed.h
@@ -1250,6 +1250,8 @@
#if defined(PERL_IN_GV_C)
#ifdef PERL_CORE
#define gv_init_sv S_gv_init_sv
+#define gv_magicalize_isa S_gv_magicalize_isa
+#define gv_magicalize_overload S_gv_magicalize_overload
#define gv_get_super_pkg S_gv_get_super_pkg
#define require_tie_mod S_require_tie_mod
#endif
@@ -3699,6 +3701,8 @@
#if defined(PERL_IN_GV_C)
#ifdef PERL_CORE
#define gv_init_sv(a,b) S_gv_init_sv(aTHX_ a,b)
+#define gv_magicalize_isa(a,b,c) S_gv_magicalize_isa(aTHX_ a,b,c)
+#define gv_magicalize_overload(a) S_gv_magicalize_overload(aTHX_ a)
#define gv_get_super_pkg(a,b) S_gv_get_super_pkg(aTHX_ a,b)
#define require_tie_mod(a,b,c,d,e) S_require_tie_mod(aTHX_ a,b,c,d,e)
#endif