summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-02-24 17:05:23 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-02-24 17:05:23 +0000
commit4411f3b60960504e67715e05eb0ed3192bfff8fc (patch)
treee97680603c76eb78227139f832ff5e9e179c35bf /proto.h
parentebf1a2feae7df8a971c8e3f6df7764df635eadae (diff)
downloadperl-4411f3b60960504e67715e05eb0ed3192bfff8fc.tar.gz
Encode API documentation nd tidy up.
Minor additions to test. Tweaks sv_utf8_upgrade() to force SvPV, and always SvUTF8_on and return length. Adds STRLEN to standard typemap. p4raw-id: //depot/perlio@8923
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index bd27c20b60..5222e730b1 100644
--- a/proto.h
+++ b/proto.h
@@ -922,7 +922,7 @@ PERL_CALLCONV char* Perl_sv_2pvbyte_nolen(pTHX_ SV* sv);
PERL_CALLCONV char* Perl_sv_pv(pTHX_ SV *sv);
PERL_CALLCONV char* Perl_sv_pvutf8(pTHX_ SV *sv);
PERL_CALLCONV char* Perl_sv_pvbyte(pTHX_ SV *sv);
-PERL_CALLCONV void Perl_sv_utf8_upgrade(pTHX_ SV *sv);
+PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade(pTHX_ SV *sv);
PERL_CALLCONV bool Perl_sv_utf8_downgrade(pTHX_ SV *sv, bool fail_ok);
PERL_CALLCONV void Perl_sv_utf8_encode(pTHX_ SV *sv);
PERL_CALLCONV bool Perl_sv_utf8_decode(pTHX_ SV *sv);