develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r36077 - trunk/src/pmc

From:
allison
Date:
January 27, 2009 20:44
Subject:
[svn:parrot] r36077 - trunk/src/pmc
Message ID:
20090128044440.C976CCB9AE@x12.develooper.com
Author: allison
Date: Tue Jan 27 20:44:40 2009
New Revision: 36077

Modified:
   trunk/src/pmc/default.pmc

Log:
[cage] Fix the documentation for default's implementation of 'is_same'.
It's checking pointer equality, not numeric equality.


Modified: trunk/src/pmc/default.pmc
==============================================================================
--- trunk/src/pmc/default.pmc	(original)
+++ trunk/src/pmc/default.pmc	Tue Jan 27 20:44:40 2009
@@ -586,7 +586,8 @@
 
 =item C<INTVAL is_same(PMC *value)>
 
-Returns whether the PMC is numerically equal to C<value>.
+Returns whether the PMC is the same PMC as C<value> (whether they're the
+same pointer).
 
 =cut
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About