Re: [PATCH] python: use wrapped notmuch_*_t types instead of raw pointers

Subject: Re: [PATCH] python: use wrapped notmuch_*_t types instead of raw pointers

Date: Tue, 06 Dec 2011 13:35:01 +0100

To: Thomas Jost, notmuch@notmuchmail.org

Cc:

From: Sebastian Spaeth


On Tue,  6 Dec 2011 11:03:22 +0100, Thomas Jost <schnouki@schnouki.net> wrote:
> Now that types are checked correctly, we also need to make sure that all the
> arguments actually are instances of these types. Otherwise the function calls
> will fail and raise an exception similar to this one:
>    ctypes.ArgumentError: argument 3: <type 'exceptions.TypeError'>: expected
>    LP_LP_NotmuchMessageS instance instead of pointer to c_void_p

Thanks, Pushed.
part-000.sig (application/pgp-signature)

Thread: