summaryrefslogtreecommitdiff
path: root/inits.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-24 15:26:28 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-24 15:26:28 (GMT)
commit6bf7d3d8c08dbd96ec485bb856cb739139e720bc (patch)
tree25b681e65b65ea04b8748ba31cb8afb6e2f56d32 /inits.c
parentb285d26a16c90f8e2d491592e793c3b40545aaf1 (diff)
* prelude.rb: added. run this script on startup.
* tool/compile_prelude.rb: compile prelude.rb to C string. (prelude.rb -> prelude.c) * common.mk: fix to build with prelude.c. * inits.c (rb_call_inits): ditto. * thread.c (Init_Thread): move definition of Mutex#synchronize to prelude.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'inits.c')
-rw-r--r--inits.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/inits.c b/inits.c
index f63ea7d..7c53fb7 100644
--- a/inits.c
+++ b/inits.c
@@ -51,6 +51,7 @@ void Init_VM(void);
void Init_Thread(void);
void Init_Cont(void);
void Init_top_self(void);
+void Init_prelude(void);
void
rb_call_inits()
@@ -94,4 +95,5 @@ rb_call_inits()
Init_Thread();
Init_Cont();
Init_version();
+ Init_prelude();
}