diff options
author | Yukihiro Matsumoto <matz@ruby-lang.org> | 1994-12-08 14:17:29 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-17 22:09:30 +0900 |
commit | 00e36aa09f54925c2f9c30524b48f4f54a9adb23 (patch) | |
tree | 57bf15576109b53406796c66b29d5e11d9fd99c0 /time.c | |
parent | 4dfd93c72a9a221c5575c5888483f2fb55c82117 (diff) | |
download | ruby-00e36aa09f54925c2f9c30524b48f4f54a9adb23.tar.gz |
version 0.60v0_60
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-0.60.tar.gz
Thu Dec 8 14:17:29 1994 Yukihiro Matsumoto (matz@ix-02)
* 0.60 released - alpha test baseline.
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -3,7 +3,7 @@ time.c - $Author: matz $ - $Date: 1994/11/01 08:28:40 $ + $Date: 1994/12/06 09:30:28 $ created at: Tue Dec 28 14:31:59 JST 1993 Copyright (C) 1994 Yukihiro Matsumoto @@ -38,7 +38,7 @@ static ID id_tv; } static VALUE -Ftime_now(class) +Stime_now(class) VALUE class; { VALUE obj = obj_alloc(class); @@ -116,7 +116,7 @@ time_timeval(time) } static VALUE -Ftime_at(class, time) +Stime_at(class, time) VALUE class, time; { VALUE obj; @@ -501,7 +501,7 @@ Ftime_strftime(time, format) } static VALUE -Ftime_times(obj) +Stime_times(obj) VALUE obj; { struct tms buf; @@ -520,11 +520,11 @@ Init_Time() C_Time = rb_define_class("Time", C_Object); rb_include_module(C_Time, M_Comparable); - rb_define_single_method(C_Time, "now", Ftime_now, 0); - rb_define_single_method(C_Time, "new", Ftime_now, 0); - rb_define_single_method(C_Time, "at", Ftime_at, 1); + rb_define_single_method(C_Time, "now", Stime_now, 0); + rb_define_single_method(C_Time, "new", Stime_now, 0); + rb_define_single_method(C_Time, "at", Stime_at, 1); - rb_define_single_method(C_Time, "times", Ftime_times, 0); + rb_define_single_method(C_Time, "times", Stime_times, 0); rb_define_method(C_Time, "to_i", Ftime_to_i, 0); rb_define_method(C_Time, "to_f", Ftime_to_f, 0); |