notmuch/bindings
Justus Winter 221c7e0b38 python: fix error handling
Before 3434d1940 the return values of libnotmuch functions were
declared as c_void_p and the code checking for errors compared the
returned value to None, which is the ctypes equivalent of a NULL
pointer.

But said commit wrapped all the data types in python classes and the
semantic changed in a subtle way. If a function returns NULL, the
wrapped python value is falsish, but no longer equal to None.

Backported from master to 0.11.
2012-01-23 07:44:08 -04:00
..
go update for go-release-2011-02-01: 2011-02-03 09:36:58 +01:00
python python: fix error handling 2012-01-23 07:44:08 -04:00
ruby ruby: Fix macros, use quoting 2011-10-04 16:57:33 +03:00