summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-09-24 01:42:30 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-10-10 21:55:09 -0700
commit9cce4f9a8471c0b7a6994f36be8819352a4d9483 (patch)
tree99f2ab891ecd57f1f1d82e5ecfdd803b26b3aaef /mg.c
parent4c5bab508cf172e32fdb9e8567ff635b6d783791 (diff)
downloadperl-9cce4f9a8471c0b7a6994f36be8819352a4d9483.tar.gz
Add lvref magic type
I just couldn’t resist using the backslash for the character, even though I had to tweak mg_vtable.pl to make it work.
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mg.c b/mg.c
index 9653c707e8..e271f883b2 100644
--- a/mg.c
+++ b/mg.c
@@ -2462,6 +2462,14 @@ Perl_magic_setutf8(pTHX_ SV *sv, MAGIC *mg)
}
int
+Perl_magic_setlvref(pTHX_ SV *sv, MAGIC *mg)
+{
+ PERL_ARGS_ASSERT_MAGIC_SETLVREF;
+ Perl_croak(aTHX_ "Unimplemented");
+ return 0;
+}
+
+int
Perl_magic_set(pTHX_ SV *sv, MAGIC *mg)
{
#ifdef USE_ITHREADS