This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix apidoc for newSVhek
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 7 Jun 2005 13:15:45 +0000 (13:15 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 7 Jun 2005 13:15:45 +0000 (13:15 +0000)
p4raw-id: //depot/perl@24728

pod/perlapi.pod
sv.c

index 5856a75..aadf23a 100644 (file)
@@ -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 (file)
--- 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)