Last minute fixes to the go bindings

Subject: Last minute fixes to the go bindings

Date: Wed, 9 May 2012 12:23:05 +0200

To: notmuch@notmuchmail.org

Cc:

From: Justus Winter


Hi everyone :)

this is a small patch series that I'd like to see included in 0.13.

The first patch updates notmuch-addrlookup with respect to Austins
recent change of the notmuch_database_open function. This fixes the
compilation of the utility.

The second patch fixes the values of all the STATUS_* constants. Turns
out all of them were set to zero by accident. This isn't a c style
enum, golang has the iota operator to do this kind of stuff. This
fixes the error handling for all the users of the go bindings.

The third patch just brings the list of status constants up to date.

Cheers,
Justus

Thread: