Simplify _notmuch_doc_id_set_init interface.
authorAustin Clements <amdragon@mit.edu>
Mon, 31 Jan 2011 02:01:56 +0000 (21:01 -0500)
committerAustin Clements <amdragon@mit.edu>
Mon, 31 Jan 2011 02:01:56 +0000 (21:01 -0500)
commit56d19273fe6820907b6800cf391c8b2cb94ab86d
treef52d4c1560645fa3af9ea69c4a3b1ff7c1436d4d
parente04e72f9dd9b435f37cf9e712d9e23cf22896e27
Simplify _notmuch_doc_id_set_init interface.

Don't require the caller of _notmuch_doc_id_set_init to pass in a
correct bound; instead compute it from the array.  This simplifies the
caller and makes this interface easier to use correctly.
lib/query.cc