[Tomoe-cvs 976] CVS update: tomoe/ext/ruby

Back to archive index

Kouhei Sutou kous****@users*****
2006年 11月 24日 (金) 14:49:51 JST


Index: tomoe/ext/ruby/tomoe-rb-context.c
diff -u tomoe/ext/ruby/tomoe-rb-context.c:1.9 tomoe/ext/ruby/tomoe-rb-context.c:1.10
--- tomoe/ext/ruby/tomoe-rb-context.c:1.9	Thu Nov 23 23:30:48 2006
+++ tomoe/ext/ruby/tomoe-rb-context.c	Fri Nov 24 14:49:51 2006
@@ -5,13 +5,6 @@
 #define _SELF(obj) RVAL2TCTX(obj)
 
 static VALUE
-tc_add_dict(VALUE self, VALUE dict)
-{
-    tomoe_context_add_dict(_SELF(self), RVAL2TDIC(dict));
-    return Qnil;
-}
-
-static VALUE
 tc_load_config(int argc, VALUE *argv, VALUE self)
 {
     VALUE filename;
@@ -57,7 +50,6 @@
 
     cTomoeContext = G_DEF_CLASS(TOMOE_TYPE_CONTEXT, "Context", mTomoe);
 
-    rb_define_method(cTomoeContext, "add_dict", tc_add_dict, 1);
     rb_define_method(cTomoeContext, "load_config", tc_load_config, -1);
     rb_define_method(cTomoeContext, "load_recognizer", tc_load_recognizer, -1);
     rb_define_method(cTomoeContext, "search", tc_search, 1);


tomoe-cvs メーリングリストの案内
Back to archive index