/* * call-seq: * index_reader.version -> int * * Returns the current version of the index reader. */ static VALUE frt_ir_version(VALUE self) { IndexReader *ir = (IndexReader *)DATA_PTR(self); return ULL2NUM(ir->sis->version); }