diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-12-22 11:23:34 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-12-22 11:23:34 +0000 |
commit | e26df76ac13ccf3f750bea05eac65b7ffffc7826 (patch) | |
tree | d11edf27d8ba34c895c8936275642e04a8ccebb9 /gv.h | |
parent | 08247bd41cc7b76a946c65fcbf364608f5bde98d (diff) | |
download | perl-e26df76ac13ccf3f750bea05eac65b7ffffc7826.tar.gz |
Add an optimisation to allow proxy constant subroutines to be copied
as proxy constant subroutines in a new symbol table where possible.
(Rather than converting them to full blown constant subroutines and
instantiating 2 typeglobs)
p4raw-id: //depot/perl@26446
Diffstat (limited to 'gv.h')
-rw-r--r-- | gv.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -166,6 +166,7 @@ Return the SV from the GV. table into full PVGVs with attached constant subroutines. */ #define GV_NOADD_NOINIT 0x20 /* Don't add the symbol if it's not there. Don't init it if it is there but ! PVGV */ +#define GV_NOEXPAND 0x40 /* Don't expand SvOK() entries to PVGV */ /* SVf_UTF8 (more accurately the return value from SvUTF8) is also valid as a flag to gv_fetch_pvn_flags, so ensure it lies outside this range. |