mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-time: mrb_time_at is an API function; close #6195
5265e35 was wrong. Should not remove `mrb_` prefix from the function.
This commit is contained in:
@@ -465,7 +465,7 @@ time_now(mrb_state *mrb, mrb_value self)
|
||||
}
|
||||
|
||||
MRB_API mrb_value
|
||||
time_at(mrb_state *mrb, time_t sec, time_t usec, enum mrb_timezone zone)
|
||||
mrb_time_at(mrb_state *mrb, time_t sec, time_t usec, enum mrb_timezone zone)
|
||||
{
|
||||
return time_make_time(mrb, mrb_class_get_id(mrb, MRB_SYM(Time)), sec, usec, zone);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user