From: dLux Date: Mon, 23 Apr 2001 01:25:26 +0000 (+0200) Subject: Fix for X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=679ac26e110ef97fbf30ce13479d7051699b4a34;p=p5sagit%2Fp5-mst-13.2.git Fix for Subject: [ID 20010423.001] perlapi documentation inconsistency (SvGROW) Message-Id: (SvGROW really does return a char *.) p4raw-id: //depot/perl@9786 --- diff --git a/pod/perlapi.pod b/pod/perlapi.pod index 3f7c2f9..5fbc201 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -1934,7 +1934,7 @@ indicated number of bytes (remember to reserve space for an extra trailing NUL character). Calls C to perform the expansion if necessary. Returns a pointer to the character buffer. - void SvGROW(SV* sv, STRLEN len) + char * SvGROW(SV* sv, STRLEN len) =for hackers Found in file sv.h diff --git a/sv.h b/sv.h index ab04b05..a896b62 100644 --- a/sv.h +++ b/sv.h @@ -1053,7 +1053,7 @@ more than once. Calls a non-destructive version of C if dsv is not the same as ssv. May evaluate arguments more than once. -=for apidoc Am|void|SvGROW|SV* sv|STRLEN len +=for apidoc Am|char *|SvGROW|SV* sv|STRLEN len Expands the character buffer in the SV so that it has room for the indicated number of bytes (remember to reserve space for an extra trailing NUL character). Calls C to perform the expansion if necessary.