diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | inits.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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. @@ -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(); |