[macruby-changes] [3057] MacRuby/trunk/gcd.c

source_changes at macosforge.org source_changes at macosforge.org
Fri Nov 27 17:12:13 PST 2009


Revision: 3057
          http://trac.macosforge.org/projects/ruby/changeset/3057
Author:   lsansonetti at apple.com
Date:     2009-11-27 17:12:10 -0800 (Fri, 27 Nov 2009)
Log Message:
-----------
Dispatch::Source.timer: accept delay

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

Modified: MacRuby/trunk/gcd.c
===================================================================
--- MacRuby/trunk/gcd.c	2009-11-28 00:57:38 UTC (rev 3056)
+++ MacRuby/trunk/gcd.c	2009-11-28 01:12:10 UTC (rev 3057)
@@ -720,7 +720,7 @@
 {
     dispatch_time_t start_time;
     VALUE queue = Qnil, interval = Qnil, delay = Qnil, leeway = Qnil;
-    rb_scan_args(argc, argv, "21", &queue, &interval, &leeway);
+    rb_scan_args(argc, argv, "31", &queue, &delay, &interval, &leeway);
     if (NIL_P(leeway)) {
         leeway = INT2FIX(0);
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091127/3a297f85/attachment.html>


More information about the macruby-changes mailing list