diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-10-08 22:23:50 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-10-09 23:14:07 -0700 |
commit | 89fc9e2a93d8f1efaca9c57135763a5342ecdd36 (patch) | |
tree | 612732e86d7d1ba8b5b5cef07f338d4e5aea8c4c /sv.h | |
parent | b2ef759e149da82c9e8229884417d223e485c9fb (diff) | |
download | perl-89fc9e2a93d8f1efaca9c57135763a5342ecdd36.tar.gz |
Update docs for XS AUTOLOAD
This mentions the UTF8 flag and moves the discussion to perlapi, where
it belongs, IMHO.
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -685,6 +685,11 @@ Only use when you are sure SvNOK is true. See also C<SvNV()>. Returns a pointer to the physical string in the SV. The SV must contain a string. +During autoloading, if the AUTOLOAD routine is an XSUB, C<SvPVX(cv)> +returns the name of the subroutine for which AUTOLOAD was invoked. +Likewise, C<SvCUR(cv)> returns the length, and C<SvUTF8(cv)> returns true +if the name is in UTF8. + =for apidoc Am|STRLEN|SvCUR|SV* sv Returns the length of the string which is in the SV. See C<SvLEN>. |