/*
+Copyright (C) 2002-2004 Kouichirou Eto, All rights reserved.
Ruby/CHISE ext by eto 2003-0308
-Copyright (C) 2002-2003 Kouichirou Eto
- All rights reserved.
- This is free software with ABSOLUTELY NO WARRANTY.
-
-You can redistribute it and/or modify it under the terms of
-the GNU General Public License version 2.
*/
#include "ruby.h"
cDS = rb_define_class_under(mCHISE, "DataSource", rb_cObject);
rb_define_singleton_method(cDS, "new", fds_new, 2);
rb_define_method(cDS, "close", fds_close, 0);
- rb_define_const(cDS, "NONE", INT2FIX(CHISE_DS_NONE));
- rb_define_const(cDS, "Berkeley_DB", INT2FIX(CHISE_DS_Berkeley_DB));
+ rb_define_const(cDS, "NONE", INT2FIX(CHISE_DS_NONE));
+ rb_define_const(cDS, "Berkeley_DB", INT2FIX(CHISE_DS_Berkeley_DB));
rb_define_method(cDS, "open_decoding_table", fds_open_dt, 1);
rb_define_method(cDS, "open_feature_table", fds_open_ft, 1);