aboutsummaryrefslogtreecommitdiffstats
path: root/src/ffi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffi.rs')
-rw-r--r--src/ffi.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index caecc0e..58965cc 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -856,7 +856,8 @@ extern {
/// @since libnotmuch 4.3 (notmuch 0.21)
pub fn notmuch_query_count_messages(
query: *mut notmuch_query_t,
- ) -> c_uint;
+ count: *mut c_uint
+ ) -> notmuch_status_t;
/// Return the number of threads matching a search.
@@ -879,9 +880,10 @@ extern {
/// value of *count is not defined.
///
/// @since libnotmuch 4.3 (notmuch 0.21)
- pub fn notmuch_count_threads(
+ pub fn notmuch_query_count_threads(
query: *mut notmuch_query_t,
- ) -> c_uint;
+ count: *mut c_uint
+ ) -> notmuch_status_t;
/// Get the thread ID of 'thread'.
///