You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/02/19 20:18:44 UTC

[lucy-commits] svn commit: r1072421 - /incubator/lucy/trunk/clownfish/lib/Clownfish.xs

Author: marvin
Date: Sat Feb 19 19:18:44 2011
New Revision: 1072421

URL: http://svn.apache.org/viewvc?rev=1072421&view=rev
Log:
Fix an accessor which was returning 'self' instead of the requested member
var.

Modified:
    incubator/lucy/trunk/clownfish/lib/Clownfish.xs

Modified: incubator/lucy/trunk/clownfish/lib/Clownfish.xs
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/lib/Clownfish.xs?rev=1072421&r1=1072420&r2=1072421&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/lib/Clownfish.xs (original)
+++ incubator/lucy/trunk/clownfish/lib/Clownfish.xs Sat Feb 19 19:18:44 2011
@@ -273,7 +273,7 @@ PPCODE:
                 CFCDocuComment *docucomment 
                     = CFCFunction_get_docucomment(self);
                 retval = docucomment 
-                       ? newRV((SV*)CFCBase_get_perl_obj((CFCBase*)self))
+                       ? newRV((SV*)CFCBase_get_perl_obj((CFCBase*)docucomment))
                        : newSV(0);
             }
             break;