In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/1a15d16d8ab308fc4f99063c180391a513f81fdb?hp=d1f1d9a74b9a375a1a92c95feae48ee46f9e3858>
- Log ----------------------------------------------------------------- commit 1a15d16d8ab308fc4f99063c180391a513f81fdb Author: Nicholas Clark <[email protected]> Date: Thu Apr 12 18:27:59 2012 +0200 valid_utf8_to_uv{chr,uni} have no documentation, so remove the 'd' flag. Commit 27d6c58a7e12243b added valid_utf8_to_uv{chr,uni} with the commit message: utf8.c: Add valid_utf8_to_uvuni() and valid_utf8_to_uvchr() These functions are like utf8_to_uvuni() and utf8_to_uvchr(), but their name implies that the input UTF-8 has been validated. They are not currently documented, as it's best for XS writers to call the functions that do validation. However, it also inadvertently gave each a 'd' flag in embed.fnc, incorrectly stating that they had documentation, which causes autodoc.pl to warn that it can't find the documentation. So remove the 'd' flag to correctly reflect the intended lack of documentation. ----------------------------------------------------------------------- Summary of changes: embed.fnc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/embed.fnc b/embed.fnc index a1dee4d..17d5bcf 100644 --- a/embed.fnc +++ b/embed.fnc @@ -1450,8 +1450,8 @@ ApMd |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *len|NULLOK bool *is_utf8 ApMd |U8* |bytes_to_utf8 |NN const U8 *s|NN STRLEN *len ApdD |UV |utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen ApdD |UV |utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen -ApdM |UV |valid_utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen -ApdM |UV |valid_utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen +ApM |UV |valid_utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen +ApM |UV |valid_utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen Apd |UV |utf8_to_uvchr_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen Apd |UV |utf8_to_uvuni_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen pM |bool |check_utf8_print |NN const U8 *s|const STRLEN len -- Perl5 Master Repository
