summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--inits.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 84e270b814..2081660372 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,4 @@
-Sun Oct 14 01:32:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Sun Oct 14 02:20:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* encoding.c (rb_cEncoding): new Encoding class.
@@ -8,6 +8,8 @@ Sun Oct 14 01:32:37 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (garbage_collect): mark Encoding objects.
+ * inits.c (rb_call_inits): call Init_Encoding.
+
* string.c (rb_str_force_encoding): accept Encoding object as well as
encoding name.
diff --git a/inits.c b/inits.c
index 599825781b..f6e4502dfb 100644
--- a/inits.c
+++ b/inits.c
@@ -52,6 +52,7 @@ void Init_Thread(void);
void Init_Cont(void);
void Init_top_self(void);
void Init_prelude(void);
+void Init_Encoding(void);
void
rb_call_inits()
@@ -61,6 +62,7 @@ rb_call_inits()
Init_var_tables();
Init_Object();
Init_top_self();
+ Init_Encoding();
Init_Comparable();
Init_Enumerable();
Init_Precision();