[macruby-changes] [3419] MacRuby/trunk/gc.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 2 18:36:10 PST 2010


Revision: 3419
          http://trac.macosforge.org/projects/ruby/changeset/3419
Author:   lsansonetti at apple.com
Date:     2010-02-02 18:36:08 -0800 (Tue, 02 Feb 2010)
Log Message:
-----------
GC.count: deleted implementation, marked as not-implemented

Modified Paths:
--------------
    MacRuby/trunk/gc.c

Modified: MacRuby/trunk/gc.c
===================================================================
--- MacRuby/trunk/gc.c	2010-02-03 02:29:13 UTC (rev 3418)
+++ MacRuby/trunk/gc.c	2010-02-03 02:36:08 UTC (rev 3419)
@@ -1015,13 +1015,7 @@
  *
  */
 
-static VALUE
-gc_count(VALUE self)
-{
-    auto_statistics_t stats;
-    auto_zone_statistics(__auto_zone, &stats);
-    return UINT2NUM(stats.num_collections[0] + stats.num_collections[1]);
-}
+#define gc_count rb_f_notimplement
 
 /*
  *  The <code>GC</code> module provides an interface to Ruby's mark and
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100202/7365f431/attachment.html>


More information about the macruby-changes mailing list