From: Rafael Garcia-Suarez Date: Tue, 7 Jun 2005 13:15:45 +0000 (+0000) Subject: Fix apidoc for newSVhek X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=926f8064e84e4f3db7d3ef5d47b21d7f46d7c137;p=p5sagit%2Fp5-mst-13.2.git Fix apidoc for newSVhek p4raw-id: //depot/perl@24728 --- diff --git a/pod/perlapi.pod b/pod/perlapi.pod index 5856a75..aadf23a 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -2942,6 +2942,17 @@ macro. =for hackers Found in file sv.c +=item newSVhek + +Creates a new SV from the hash key structure. It will generate scalars that +point to the shared string table where possible. Returns a new (undefined) +SV if the hek is NULL. + + SV* newSVhek(const HEK *hek) + +=for hackers +Found in file sv.c + =item newSViv Creates a new SV and copies an integer into it. The reference count for the diff --git a/sv.c b/sv.c index 8eb9841..f3dbaf8 100644 --- a/sv.c +++ b/sv.c @@ -7606,7 +7606,7 @@ Perl_newSVpvn(pTHX_ const char *s, STRLEN len) /* -=for apidoc newSVpv_hek +=for apidoc newSVhek Creates a new SV from the hash key structure. It will generate scalars that point to the shared string table where possible. Returns a new (undefined)