Kouhei Sutou
kous****@users*****
Tue May 23 17:41:03 JST 2006
Index: kazehakase/ext/ruby/kz-rb-ext.c diff -u kazehakase/ext/ruby/kz-rb-ext.c:1.12 kazehakase/ext/ruby/kz-rb-ext.c:1.13 --- kazehakase/ext/ruby/kz-rb-ext.c:1.12 Mon May 22 12:08:42 2006 +++ kazehakase/ext/ruby/kz-rb-ext.c Tue May 23 17:41:03 2006 @@ -51,6 +51,9 @@ mKz = rb_define_module("Kz"); + rb_define_const(mKz, "VERSION", rb_str_new2(VERSION)); + rb_define_const(mKz, "URI", rb_str_new2(KAZEHAKASE_URI)); + config_dir = g_build_filename(g_get_home_dir(), "."PACKAGE, NULL); actions_dir = g_build_filename(config_dir, "actions", NULL); rb_define_const(mKz, "CONFIG_DIR", rb_str_new2(config_dir));