diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-08 15:55:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-08 15:55:39 +0000 |
commit | e1821933a34a4fb5019f10017f10bd98db983d90 (patch) | |
tree | 485c3f093e9c852852d1e43be88ac4b5be956b4c /time.c | |
parent | 260cdd61a43cad975dfa70da55b7f352c8b1cdf5 (diff) | |
download | ruby-e1821933a34a4fb5019f10017f10bd98db983d90.tar.gz |
* eval.c (ruby_vm_init): split from ruby_init.
* eval.c (ruby_vm_run): cleans up VM always.
* inits.c (rb_call_inits): separated per-process and per-VM
intializations.
* parse.y (sym_str_new): creates VM-neutral string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@19258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2384,7 +2384,11 @@ Init_Time(void) id_divmod = rb_intern("divmod"); id_mul = rb_intern("*"); id_submicro = rb_intern("submicro"); +} +void +InitVM_Time(rb_vm_t *vm) +{ rb_cTime = rb_define_class("Time", rb_cObject); rb_include_module(rb_cTime, rb_mComparable); |