return Qnil;
}
+/*
+ * call-seq: QUERY.omit_excluded=(boolean) => nil
+ *
+ * Specify whether to omit excluded results or simply flag them.
+ * By default, this is set to +true+.
+ */
+VALUE
+notmuch_rb_query_set_omit_excluded (VALUE self, VALUE omitv)
+{
+ notmuch_query_t *query;
+
+ Data_Get_Notmuch_Query (self, query);
+
+ notmuch_query_set_omit_excluded (query, RTEST (omitv));
+
+ return Qnil;
+}
+
/*
* call-seq: QUERY.search_threads => THREADS
*
* (function may return 0 after printing a message)
* Thus there is nothing we can do here...
*/
- return UINT2FIX(notmuch_query_count_messages(query));
+ return UINT2NUM(notmuch_query_count_messages(query));
}