summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-12-20 17:47:48 +0000
committerNicholas Clark <nick@ccl4.org>2007-12-20 17:47:48 +0000
commit56d7a0868d14c11c08f61a0acccc9ee745b4e081 (patch)
tree6be875fe25d5cdf919248790f1cf6dfdb8b9075e /mathoms.c
parent1318745670424caf6c309d2a8e64000cb32872aa (diff)
downloadperl-56d7a0868d14c11c08f61a0acccc9ee745b4e081.tar.gz
Perl_magic_setglob() is a mathom.
p4raw-id: //depot/perl@32672
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/mathoms.c b/mathoms.c
index cccaa92485..59ffe09d95 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -65,6 +65,7 @@ PERL_CALLCONV void Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len);
PERL_CALLCONV void Perl_sv_usepvn(pTHX_ SV *sv, char *ptr, STRLEN len);
PERL_CALLCONV int Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...);
PERL_CALLCONV int Perl_printf_nocontext(const char *format, ...);
+PERL_CALLCONV int Perl_magic_setglob(pTHX_ SV* sv, MAGIC* mg);
/* ref() is now a macro using Perl_doref;
@@ -1315,6 +1316,18 @@ Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen_i32, I32 flags)
NULL, 0);
}
+/* Functions after here were made mathoms post 5.10.0 but pre 5.8.9 */
+int
+Perl_magic_setglob(pTHX_ SV *sv, MAGIC *mg)
+{
+ PERL_UNUSED_ARG(mg);
+ PERL_UNUSED_ARG(sv);
+
+ Perl_croak(aTHX_ "Perl_magic_setglob is dead code?");
+
+ return 0;
+}
+
#endif /* NO_MATHOMS */
/*