summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-08 15:55:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-08 15:55:39 +0000
commite1821933a34a4fb5019f10017f10bd98db983d90 (patch)
tree485c3f093e9c852852d1e43be88ac4b5be956b4c /time.c
parent260cdd61a43cad975dfa70da55b7f352c8b1cdf5 (diff)
downloadruby-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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/time.c b/time.c
index 4d5480b4a9..89bbc3425d 100644
--- a/time.c
+++ b/time.c
@@ -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);