Re: [PATCH 1/2] python: add classes to wrap all notmuch_*_t types

Subject: Re: [PATCH 1/2] python: add classes to wrap all notmuch_*_t types

Date: Thu, 01 Dec 2011 22:25:41 +0100

To: Justus Winter, notmuch@notmuchmail.org

Cc:

From: Sebastian Spaeth


On Mon, 28 Nov 2011 13:36:44 +0100, Justus Winter wrote:
> Well, quoting my commit message:
> 
> > Add type information to the ctypes._FuncPtr wrappers and
> > use the wrapper classes instead of c_void_p for pointers
> > to notmuch_*_t.
> >
> > This enables the ctypes library to type check parameters
> > being handed to functions from the notmuch library.


This strikes me as a rather good thing, so the patches went in.

Sebastian
part-000.sig (application/pgp-signature)

Thread: