// Status codes used for the return values of most functions
type Status C.notmuch_status_t
const (
- STATUS_SUCCESS Status = 0
+ STATUS_SUCCESS Status = iota
STATUS_OUT_OF_MEMORY
STATUS_READ_ONLY_DATABASE
STATUS_XAPIAN_EXCEPTION
STATUS_NULL_POINTER
STATUS_TAG_TOO_LONG
STATUS_UNBALANCED_FREEZE_THAW
+ STATUS_UNBALANCED_ATOMIC
STATUS_LAST_STATUS
)