diff options
author | Yves Orton <demerphq@gmail.com> | 2010-08-29 20:47:16 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2010-08-30 00:42:05 +0200 |
commit | 05c0d6bbe3ec5cc9af99d105b8648ad02ed7cc95 (patch) | |
tree | b9515e9cdc9550668ed574dc10948665a2e22c2f /global.sym | |
parent | dcab73c98b3631cbd98acc628309c400cf7b5ad2 (diff) | |
download | perl-05c0d6bbe3ec5cc9af99d105b8648ad02ed7cc95.tar.gz |
add sv_reftype_len() and make sv_reftype() be a wrapper for it
sv_reftype() mostly returns strings whose length is known at compile
time, so we can avoid a strlen() call if we return the length.
Additionally, the non-length interface is potentially buggy in the
face of class names which contain "\0", therefore providing a way
to obtain the true length allows us to avoid any trickyness.
Diffstat (limited to 'global.sym')
-rw-r--r-- | global.sym | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/global.sym b/global.sym index 332381564d..ed4985b732 100644 --- a/global.sym +++ b/global.sym @@ -590,6 +590,7 @@ Perl_sv_pvutf8n_force Perl_sv_pvbyten_force Perl_sv_recode_to_utf8 Perl_sv_cat_decode +Perl_sv_reftype_len Perl_sv_reftype Perl_sv_replace Perl_sv_report_used |