This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix signature of sv_unmagic in perlguts.pod
authorFlorian Ragwitz <rafl@debian.org>
Thu, 25 Nov 2010 01:43:27 +0000 (02:43 +0100)
committerFlorian Ragwitz <rafl@debian.org>
Thu, 25 Nov 2010 01:43:27 +0000 (02:43 +0100)
pod/perlguts.pod

index b56811c..00df255 100644 (file)
@@ -958,7 +958,7 @@ This simply calls C<sv_magic> and coerces the C<gv> argument into an C<SV>.
 
 To remove the magic from an SV, call the function sv_unmagic:
 
-    void sv_unmagic(SV *sv, int type);
+    int sv_unmagic(SV *sv, int type);
 
 The C<type> argument should be equal to the C<how> value when the C<SV>
 was initially made magical.