diff options
author | Leon Timmermans <fawaka@gmail.com> | 2022-07-30 16:39:41 +0200 |
---|---|---|
committer | Leon Timmermans <fawaka@gmail.com> | 2022-11-01 10:39:16 +0100 |
commit | 3e510e80666d4b9d025e518923ae7df8b21f290e (patch) | |
tree | 321bbff632038eac3d3f18ec7feff9e85cc7ac16 /mg_vtable.h | |
parent | 3972099975574c30f8d639f22f1c7e0482a11aea (diff) | |
download | perl-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_vtable.h')
-rw-r--r-- | mg_vtable.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mg_vtable.h b/mg_vtable.h index 8f59573ca1..0497e2942a 100644 --- a/mg_vtable.h +++ b/mg_vtable.h @@ -57,7 +57,8 @@ smart parameter vivification */ #define PERL_MAGIC_lvref '\\' /* Lvalue reference constructor */ #define PERL_MAGIC_checkcall ']' /* Inlining/mutation of call to this CV */ -#define PERL_MAGIC_ext '~' /* Available for use by extensions */ +#define PERL_MAGIC_extvalue '^' /* Value magic available for use by extensions */ +#define PERL_MAGIC_ext '~' /* Variable magic available for use by extensions */ enum { /* pass one of these to get_vtbl */ want_vtbl_arylen, |