summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-05-08 01:19:13 +0900
committerYukihiro Matsumoto <[email protected]>2012-05-08 01:19:13 +0900
commit5684a383827075f331a9249ef624b9cc60a2b632 (patch)
tree80bd140b2f6106ff21e6d96f3be30c517058fb05 /src
parentcad39f25818ad6cab59706bf4ec24d827bdc0cab (diff)
downloadmruby-5684a383827075f331a9249ef624b9cc60a2b632.tar.gz
mruby-5684a383827075f331a9249ef624b9cc60a2b632.zip
rename current_time -> current_mrb_time
Diffstat (limited to 'src')
-rw-r--r--src/time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/time.c b/src/time.c
index 0d04b58e5..a703b9ccc 100644
--- a/src/time.c
+++ b/src/time.c
@@ -174,7 +174,7 @@ mrb_time_make(mrb_state *mrb, struct RClass *c, mrb_float seconds, enum mrb_time
}
static struct mrb_time*
-current_time(mrb_state *mrb)
+current_mrb_time(mrb_state *mrb)
{
struct mrb_time *tm;
@@ -213,7 +213,7 @@ current_time(mrb_state *mrb)
static mrb_value
mrb_time_now(mrb_state *mrb, mrb_value self)
{
- return mrb_time_wrap(mrb, mrb_class_ptr(self), current_time(mrb));
+ return mrb_time_wrap(mrb, mrb_class_ptr(self), current_mrb_time(mrb));
}
/* 15.2.19.6.1 */
@@ -478,7 +478,7 @@ mrb_time_initialize(mrb_state *mrb, mrb_value self)
mrb_time_free(mrb, tm);
}
if (mrb->ci->argc == 0) {
- tm = current_time(mrb);
+ tm = current_mrb_time(mrb);
}
else {
mrb_get_args(mrb, "iiiiiii",