[PATCH] python: use wrapped notmuch_*_t types instead of raw pointers
Sebastian Spaeth
Sebastian at SSpaeth.de
Tue Dec 6 04:35:01 PST 2011
On Tue, 6 Dec 2011 11:03:22 +0100, Thomas Jost <schnouki at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111206/60369338/attachment.pgp>
More information about the notmuch
mailing list