Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update MacRuby's older Time class with CRuby 1.9.2
  • Loading branch information
Watson1978 committed Jun 16, 2012
1 parent a4a8cbb commit 3d2eb7c
Show file tree
Hide file tree
Showing 5 changed files with 4,642 additions and 930 deletions.
1 change: 1 addition & 0 deletions include/ruby/ruby.h
Expand Up @@ -384,6 +384,7 @@ void rb_set_errinfo(VALUE);
SIGNED_VALUE rb_num2long(VALUE);
VALUE rb_num2ulong(VALUE);
#define NUM2LONG(x) (FIXNUM_P(x)?FIX2LONG(x):rb_num2long((VALUE)x))
#define NUM2TIMET(v) NUM2LONG(v)
#define NUM2ULONG(x) rb_num2ulong((VALUE)x)
#if SIZEOF_INT < SIZEOF_LONG
long rb_num2int(VALUE);
Expand Down
2 changes: 1 addition & 1 deletion rakelib/builder/options.rb
Expand Up @@ -131,7 +131,7 @@ def self.option(name, default)
OBJS = %w{
array bignum class compar complex enum enumerator error eval file load proc
gc hash env inits io math numeric object pack parse prec dir process
random range rational re ruby signal sprintf st string struct time
random range rational re ruby signal sprintf st string struct time strftime
util variable version thread id objc bs ucnv encoding main dln dmyext marshal
gcd vm_eval gc-stub bridgesupport compiler dispatcher vm symbol debugger
interpreter MacRuby MacRubyDebuggerConnector NSArray NSDictionary NSString
Expand Down

0 comments on commit 3d2eb7c

Please sign in to comment.