summaryrefslogtreecommitdiff
path: root/perlapi.c
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 /perlapi.c
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 'perlapi.c')
-rw-r--r--perlapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perlapi.c b/perlapi.c
index 2252ef3171..3a5615717a 100644
--- a/perlapi.c
+++ b/perlapi.c
@@ -3875,10 +3875,10 @@ Perl_sv_pvbyte(pTHXo_ SV *sv)
}
#undef Perl_sv_utf8_upgrade
-void
+STRLEN
Perl_sv_utf8_upgrade(pTHXo_ SV *sv)
{
- ((CPerlObj*)pPerl)->Perl_sv_utf8_upgrade(sv);
+ return ((CPerlObj*)pPerl)->Perl_sv_utf8_upgrade(sv);
}
#undef Perl_sv_utf8_downgrade