diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-05-06 00:52:22 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-05-06 00:52:22 +0900 |
| commit | b0e94d8c146fe411a44b9e744362fb91ad9bee88 (patch) | |
| tree | ba925d457ee1afa9b2760d3febcb195fb3faf715 /src/init.c | |
| parent | 55da4cdc86d7c766c78a3f4c980a63eb7d991aa1 (diff) | |
| download | mruby-b0e94d8c146fe411a44b9e744362fb91ad9bee88.tar.gz mruby-b0e94d8c146fe411a44b9e744362fb91ad9bee88.zip | |
Time class available; based on code from @beoran; sorry for jumbo patch
Diffstat (limited to 'src/init.c')
| -rw-r--r-- | src/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c index 9dbdc44d1..347c6919f 100644 --- a/src/init.c +++ b/src/init.c @@ -98,6 +98,7 @@ mrb_init_core(mrb_state *mrb) #endif mrb_init_exception(mrb); mrb_init_print(mrb); + mrb_init_time(mrb); #ifdef MANDEL mrb_define_method(mrb, mrb->kernel_module, "pow", mpow, ARGS_REQ(2)); |
