-from ctypes import c_char_p, c_void_p, c_int64
+from ctypes import c_char_p, c_void_p, c_long
from datetime import date
from cnotmuch.globals import nmlib, STATUS, NotmuchError
from cnotmuch.tag import Tags
_get_tags.restype = c_void_p
_get_date = nmlib.notmuch_message_get_date
- _get_date.restype = c_int64
+ _get_date.restype = c_long
_get_header = nmlib.notmuch_message_get_header
_get_header.restype = c_char_p
-from ctypes import c_char_p, c_void_p, c_int64
+from ctypes import c_char_p, c_void_p, c_long
from cnotmuch.globals import nmlib, STATUS, NotmuchError
from cnotmuch.message import Messages
from cnotmuch.tag import Tags
_get_toplevel_messages.restype = c_void_p
_get_newest_date = nmlib.notmuch_thread_get_newest_date
- _get_newest_date.restype = c_int64
+ _get_newest_date.restype = c_long
_get_oldest_date = nmlib.notmuch_thread_get_oldest_date
- _get_oldest_date.restype = c_int64
+ _get_oldest_date.restype = c_long
"""notmuch_thread_get_tags"""
_get_tags = nmlib.notmuch_thread_get_tags