[macruby-changes] [2689] MacRuby/trunk/set.c
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 30 07:08:41 PDT 2009
Revision: 2689
http://trac.macosforge.org/projects/ruby/changeset/2689
Author: ben at tanjero.com
Date: 2009-09-30 07:08:38 -0700 (Wed, 30 Sep 2009)
Log Message:
-----------
Fixed Set#to_a.
Modified Paths:
--------------
MacRuby/trunk/set.c
Modified: MacRuby/trunk/set.c
===================================================================
--- MacRuby/trunk/set.c 2009-09-30 06:54:51 UTC (rev 2688)
+++ MacRuby/trunk/set.c 2009-09-30 14:08:38 UTC (rev 2689)
@@ -291,7 +291,7 @@
static void
rb_set_to_a_callback(const void *value, void *context)
{
- rb_ary_push((VALUE)context, (VALUE)value);
+ rb_ary_push((VALUE)context, (VALUE)OC2RB(value));
}
static VALUE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090930/37ab4382/attachment.html>
More information about the macruby-changes
mailing list