From: Nicholas Clark Date: Sat, 29 Apr 2006 17:31:27 +0000 (+0000) Subject: Add a cross reference to bytes_from_utf8() in the documentation for X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=95be277cce2cef5ea17debb2d60e8f38283b5ecc;p=p5sagit%2Fp5-mst-13.2.git Add a cross reference to bytes_from_utf8() in the documentation for utf8_to_bytes(). Regenerate perlapi.pod. p4raw-id: //depot/perl@28015 --- diff --git a/pod/perlapi.pod b/pod/perlapi.pod index 225a5cb..ec4dc71 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -1006,6 +1006,17 @@ cope with complex macro expressions. Always use the macro instead. =for hackers Found in file mathoms.c +=item unpack_str +X + +The engine implementing unpack() Perl function. Note: parameters strbeg, new_s +and ocnt are not used. This call should not be used, use unpackstring instead. + + I32 unpack_str(const char *pat, const char *patend, const char *s, const char *strbeg, const char *strend, char **new_s, I32 ocnt, U32 flags) + +=for hackers +Found in file mathoms.c + =back @@ -1047,17 +1058,6 @@ Issue C before and C after the call to this function. =for hackers Found in file pp_pack.c -=item unpack_str -X - -The engine implementing unpack() Perl function. Note: parameters strbeg, new_s -and ocnt are not used. This call should not be used, use unpackstring instead. - - I32 unpack_str(const char *pat, const char *patend, const char *s, const char *strbeg, const char *strend, char **new_s, I32 ocnt, U32 flags) - -=for hackers -Found in file pp_pack.c - =back @@ -6314,6 +6314,8 @@ Unlike C, this over-writes the original string, and updates len to contain the new length. Returns zero on failure, setting C to -1. +If you need a copy of the string, see C. + NOTE: this function is experimental and may change or be removed without notice. diff --git a/utf8.c b/utf8.c index 83169a3..d0cbb4e 100644 --- a/utf8.c +++ b/utf8.c @@ -750,6 +750,8 @@ Unlike C, this over-writes the original string, and updates len to contain the new length. Returns zero on failure, setting C to -1. +If you need a copy of the string, see C. + =cut */