summaryrefslogtreecommitdiffstats
path: root/inits.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-08 15:07:18 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-08 15:07:18 +0000
commitfa4476907f92bbfed5868fb33305b4d78bb42607 (patch)
tree05df36c5ce7f88ce0b9e88b062636d7581879aa0 /inits.c
parentbe031bf3cb836541436f2e7c8136a572e358acf1 (diff)
downloadruby-fa4476907f92bbfed5868fb33305b4d78bb42607.tar.gz
ruby-fa4476907f92bbfed5868fb33305b4d78bb42607.tar.xz
ruby-fa4476907f92bbfed5868fb33305b4d78bb42607.zip
* eval_method.ci (rb_get_alloc_func): new function to get allocation
function. * include/ruby/intern.h (rb_alloc_func_t): declared. (rb_define_alloc_func): declared. (rb_marshal_define_compat): declared. * range.c: use T_STRUCT for Range. * inits.c: move Init_marshal() prior to Init_Range() because Init_Range calls rb_marshal_define_compat which needs marshal's compat_allocator_tbl initialized. * marshal.c: support marshal format compatibility layer designed for marshaling T_STRUCT Range using T_OBJECT format. (rb_marshal_define_compat): defined. [ruby-dev:31710] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'inits.c')
-rw-r--r--inits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inits.c b/inits.c
index ce7172987..599825781 100644
--- a/inits.c
+++ b/inits.c
@@ -76,6 +76,7 @@ rb_call_inits()
Init_Struct();
Init_Regexp();
Init_pack();
+ Init_marshal();
Init_Range();
Init_IO();
Init_Dir();
@@ -88,7 +89,6 @@ rb_call_inits()
Init_Binding();
Init_Math();
Init_GC();
- Init_marshal();
Init_Enumerator();
Init_VM();
Init_ISeq();