[macruby-changes] [1906] MacRuby/branches/experimental/hash.c

source_changes at macosforge.org source_changes at macosforge.org
Fri Jun 19 22:29:51 PDT 2009


Revision: 1906
          http://trac.macosforge.org/projects/ruby/changeset/1906
Author:   lsansonetti at apple.com
Date:     2009-06-19 22:29:50 -0700 (Fri, 19 Jun 2009)
Log Message:
-----------
oops

Modified Paths:
--------------
    MacRuby/branches/experimental/hash.c

Modified: MacRuby/branches/experimental/hash.c
===================================================================
--- MacRuby/branches/experimental/hash.c	2009-06-20 05:20:37 UTC (rev 1905)
+++ MacRuby/branches/experimental/hash.c	2009-06-20 05:29:50 UTC (rev 1906)
@@ -475,7 +475,7 @@
     if (!CFDictionaryGetValueIfPresent((CFDictionaryRef)hash,
 		(const void *)RB2OC(key),
 	(const void **)&val)) {
-	return rb_vm_call_with_cache(defaultCache, hash, selDefault, 0, NULL);
+	return rb_vm_call_with_cache(defaultCache, hash, selDefault, 1, &key);
     }
     val = OC2RB(val);
     return val;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090619/fd7ee9dc/attachment.html>


More information about the macruby-changes mailing list