Last minute fixes to the go bindings

Austin Clements amdragon at MIT.EDU
Wed May 9 11:07:00 PDT 2012


LGTM.

Quoth Justus Winter on May 09 at 12:23 pm:
> 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.

'Doh!  Is it possible to get the status values out of cgo, rather than
depending on the list in libnotmuch and the list in Go being in the
same order?

> The third patch just brings the list of status constants up to date.
> 
> Cheers,
> Justus


More information about the notmuch mailing list