* tiny and obviously correct (tm) fix for 0.12
@ 2012-03-16 12:56 Justus Winter
2012-03-16 12:56 ` [PATCH] python: fix signature of two wrapped libnotmuch functions Justus Winter
0 siblings, 1 reply; 4+ messages in thread
From: Justus Winter @ 2012-03-16 12:56 UTC (permalink / raw)
To: notmuch
I've been going through the bindings lately and have some stuff in the
pipeline that has to wait until 0.12 is out, but I've noticed two
small and obvious errors I made when I annotated all the wrapped
libnotmuch functions.
The following patch addresses this problem and since it's a really
small change I'd like to see this in 0.12. What do you think?
Justus
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] python: fix signature of two wrapped libnotmuch functions
2012-03-16 12:56 tiny and obviously correct (tm) fix for 0.12 Justus Winter
@ 2012-03-16 12:56 ` Justus Winter
2012-03-16 14:58 ` Austin Clements
2012-03-18 11:47 ` David Bremner
0 siblings, 2 replies; 4+ messages in thread
From: Justus Winter @ 2012-03-16 12:56 UTC (permalink / raw)
To: notmuch
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
---
bindings/python/notmuch/directory.py | 2 +-
bindings/python/notmuch/threads.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bindings/python/notmuch/directory.py b/bindings/python/notmuch/directory.py
index 0c5e015..284cbdc 100644
--- a/bindings/python/notmuch/directory.py
+++ b/bindings/python/notmuch/directory.py
@@ -177,7 +177,7 @@ class Directory(object):
_destroy = nmlib.notmuch_directory_destroy
_destroy.argtypes = [NotmuchDirectoryP]
- _destroy.argtypes = None
+ _destroy.restype = None
def __del__(self):
"""Close and free the Directory"""
diff --git a/bindings/python/notmuch/threads.py b/bindings/python/notmuch/threads.py
index 690206e..225f524 100644
--- a/bindings/python/notmuch/threads.py
+++ b/bindings/python/notmuch/threads.py
@@ -172,7 +172,7 @@ class Threads(Python3StringMixIn):
_destroy = nmlib.notmuch_threads_destroy
_destroy.argtypes = [NotmuchThreadsP]
- _destroy.argtypes = None
+ _destroy.restype = None
def __del__(self):
"""Close and free the notmuch Threads"""
--
1.7.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-18 11:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 12:56 tiny and obviously correct (tm) fix for 0.12 Justus Winter
2012-03-16 12:56 ` [PATCH] python: fix signature of two wrapped libnotmuch functions Justus Winter
2012-03-16 14:58 ` Austin Clements
2012-03-18 11:47 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).