Kouhei Sutou
kous****@users*****
2006年 11月 27日 (月) 16:49:17 JST
Index: tomoe/ext/ruby/tomoe-rb-dict.c diff -u tomoe/ext/ruby/tomoe-rb-dict.c:1.3 tomoe/ext/ruby/tomoe-rb-dict.c:1.4 --- tomoe/ext/ruby/tomoe-rb-dict.c:1.3 Mon Nov 27 13:20:17 2006 +++ tomoe/ext/ruby/tomoe-rb-dict.c Mon Nov 27 16:49:17 2006 @@ -16,13 +16,6 @@ return GOBJ2RVAL(tomoe_dict_get_char(_SELF(self), RVAL2CSTR(code_point))); } -static VALUE -td_save(VALUE self) -{ - tomoe_dict_save(_SELF(self)); - return Qnil; -} - void Init_tomoe_dict(VALUE mTomoe) @@ -34,6 +27,4 @@ rb_define_method(cTomoeDict, "initialize", td_initialize, 2); rb_define_method(cTomoeDict, "[]", td_get_char, 1); - - rb_define_method(cTomoeDict, "save", td_save, 0); }