X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fruby.git;a=blobdiff_plain;f=ext%2Fsample.rb;h=56c4ada723abc1c4a2b324635384f7589de585f8;hp=dd5bf40d2b98c39984bdc67db98a5ca829ac40af;hb=9b4963acbdbc25c39a502d98a77e7de43d7d1c77;hpb=5dac29593fc01dc74c6ddbb2f45830e417484101 diff --git a/ext/sample.rb b/ext/sample.rb index dd5bf40..56c4ada 100755 --- a/ext/sample.rb +++ b/ext/sample.rb @@ -1,7 +1,13 @@ #!/usr/bin/env ruby # Copyright (C) 2002-2004 Kouichirou Eto, All rights reserved. -require "libchise" +require "libchise_c.so" +module CHISE + DataSource = DataSource_C + Feature = Feature_C + CCS = CCS_C +end + $LOAD_PATH.unshift("..") require "chise/qp"