/* * call-seq: * iw.max_buffer_memory -> number * * Return the current value of max_buffer_memory */ static VALUE frt_iw_get_max_buffer_memory(VALUE self) { IndexWriter *iw = (IndexWriter *)DATA_PTR(self); return INT2FIX(iw->config.max_buffer_memory); }