From 088ad8644f91448853754bbf189f52c81a5bc695 Mon Sep 17 00:00:00 2001 From: rhn Date: Fri, 13 Apr 2018 11:22:42 +0200 Subject: Make 0.26 functions available after setting "0.26" config --- src/thread.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/thread.rs') diff --git a/src/thread.rs b/src/thread.rs index 9148c44..98832a6 100644 --- a/src/thread.rs +++ b/src/thread.rs @@ -46,7 +46,7 @@ impl<'q, 'd> Thread<'q, 'd>{ ffi::notmuch_thread_get_total_messages(self.0) } } - +#[cfg(feature = "0.26")] pub fn total_files(self: &Self) -> i32{ unsafe { ffi::notmuch_thread_get_total_files(self.0) -- cgit v1.2.1