summaryrefslogtreecommitdiff
path: root/mg_raw.h
diff options
context:
space:
mode:
authorLeon Timmermans <fawaka@gmail.com>2022-07-30 16:39:41 +0200
committerLeon Timmermans <fawaka@gmail.com>2022-11-01 10:39:16 +0100
commit3e510e80666d4b9d025e518923ae7df8b21f290e (patch)
tree321bbff632038eac3d3f18ec7feff9e85cc7ac16 /mg_raw.h
parent3972099975574c30f8d639f22f1c7e0482a11aea (diff)
downloadperl-3e510e80666d4b9d025e518923ae7df8b21f290e.tar.gz
Add PERL_MAGIC_extvalue
A new magic type PERL_MAGIC_extvalue has been added. This is available for use like PERL_MAGIC_ext, but is a value magic: upon localization the new value will not be magical.
Diffstat (limited to 'mg_raw.h')
-rw-r--r--mg_raw.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mg_raw.h b/mg_raw.h
index c55e64372c..0638b09953 100644
--- a/mg_raw.h
+++ b/mg_raw.h
@@ -86,7 +86,9 @@
"/* lvref '\\' Lvalue reference constructor */" },
{ ']', "want_vtbl_checkcall | PERL_MAGIC_VALUE_MAGIC",
"/* checkcall ']' Inlining/mutation of call to this CV */" },
+ { '^', "magic_vtable_max | PERL_MAGIC_READONLY_ACCEPTABLE | PERL_MAGIC_VALUE_MAGIC",
+ "/* extvalue '^' Value magic available for use by extensions */" },
{ '~', "magic_vtable_max | PERL_MAGIC_READONLY_ACCEPTABLE",
- "/* ext '~' Available for use by extensions */" },
+ "/* ext '~' Variable magic available for use by extensions */" },
/* ex: set ro: */