From: Peter Prymmer Date: Wed, 29 Nov 2000 12:36:40 +0000 (-0800) Subject: Re: question about retlen in utf8.c:Perl_utf8_to_uv() X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=be2c7115ec914eafe55774691f80f4bbd7a150f0;p=p5sagit%2Fp5-mst-13.2.git Re: question about retlen in utf8.c:Perl_utf8_to_uv() Message-ID: plus regen perlapi.pod. p4raw-id: //depot/perl@7932 --- diff --git a/pod/perlapi.pod b/pod/perlapi.pod index 7a93dea..7296c81 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -2368,19 +2368,19 @@ false, defined or undefined. Does not handle 'get' magic. =for hackers Found in file sv.h -=item svtype +=item SvTYPE -An enum of flags for Perl types. These are found in the file B -in the C enum. Test these flags with the C macro. +Returns the type of the SV. See C. + + svtype SvTYPE(SV* sv) =for hackers Found in file sv.h -=item SvTYPE - -Returns the type of the SV. See C. +=item svtype - svtype SvTYPE(SV* sv) +An enum of flags for Perl types. These are found in the file B +in the C enum. Test these flags with the C macro. =for hackers Found in file sv.h @@ -3226,9 +3226,10 @@ If C does not point to a well-formed UTF8 character, the behaviour is dependent on the value of C: if it contains UTF8_CHECK_ONLY, it is assumed that the caller will raise a warning, and this function will set C to C<-1> and return. The C can also contain -various flags to allow deviations from the strict UTF-8 encoding. +various flags to allow deviations from the strict UTF-8 encoding +(see F). - U8* s utf8_to_uv(STRLEN curlen, I32 *retlen, U32 flags) + U8* s utf8_to_uv(STRLEN curlen, STRLEN *retlen, U32 flags) =for hackers Found in file utf8.c diff --git a/utf8.c b/utf8.c index 48c772d..e313258 100644 --- a/utf8.c +++ b/utf8.c @@ -171,7 +171,7 @@ Perl_is_utf8_string(pTHX_ U8 *s, STRLEN len) } /* -=for apidoc Am|U8* s|utf8_to_uv|STRLEN curlen|I32 *retlen|U32 flags +=for apidoc Am|U8* s|utf8_to_uv|STRLEN curlen|STRLEN *retlen|U32 flags Returns the character value of the first character in the string C which is assumed to be in UTF8 encoding and no longer than C; @@ -182,7 +182,8 @@ If C does not point to a well-formed UTF8 character, the behaviour is dependent on the value of C: if it contains UTF8_CHECK_ONLY, it is assumed that the caller will raise a warning, and this function will set C to C<-1> and return. The C can also contain -various flags to allow deviations from the strict UTF-8 encoding. +various flags to allow deviations from the strict UTF-8 encoding +(see F). =cut */