diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-01-15 14:38:58 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-01-15 14:38:58 +0000 |
commit | 780a5241a93925d81e932db73df46ee749b203b9 (patch) | |
tree | 5d2b5e37c760af0191c2ced00c015d067dd9736a /gv.h | |
parent | d1144667a1a63a59aa92742530166e5d3591539f (diff) | |
download | perl-780a5241a93925d81e932db73df46ee749b203b9.tar.gz |
Add get_cvn_flags(), which is like get_cv() but takes a length. This
allows symbolic code references with embeded NULs to work.
p4raw-id: //depot/perl@29830
Diffstat (limited to 'gv.h')
-rw-r--r-- | gv.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -207,6 +207,10 @@ Return the SV from the GV. /* 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. */ + +#define GV_NOADD_MASK (SVf_UTF8|GV_NOADD_NOINIT|GV_NOEXPAND|GV_NOTQUAL) +/* The bit flags that don't cause gv_fetchpv() to add a symbol if not found */ + #define gv_fullname3(sv,gv,prefix) gv_fullname4(sv,gv,prefix,TRUE) #define gv_efullname3(sv,gv,prefix) gv_efullname4(sv,gv,prefix,TRUE) #define gv_fetchmethod(stash, name) gv_fetchmethod_autoload(stash, name, TRUE) |