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:
Yukihiro "Matz" Matsumoto
2024-03-10 23:48:28 +09:00
parent 44edd3438b
commit 95765c8193
+1 -1
View File
@@ -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);
}