unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 39c7f48f0d43cd139e6e66afc4768b7679ef320e 341 bytes (raw)
name: util/xapian-extra.h 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
#ifndef _XAPIAN_EXTRA_H
#define _XAPIAN_EXTRA_H

#include <string>
#include <xapian.h>

inline Xapian::Query
xapian_query_match_all (void)
{
    // Xapian::Query::MatchAll isn't thread safe (a static object with reference
    // counting) so instead reconstruct the equivalent on demand.
    return Xapian::Query (std::string ());
}

#endif

debug log:

solving 39c7f48f ...
found 39c7f48f in https://yhetil.org/notmuch.git/

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).