aboutsummaryrefslogtreecommitdiffstats
path: root/src/nmraii.h
AgeCommit message (Collapse)AuthorFilesLines
37 hoursfeat: add cross-thread value types and notmuch RAII wrappersDanilo M.1-0/+51
ThreadSummary, MessageRef, and TagChange are plain-value structs that carry query results across the worker/UI thread boundary via queued signals. NmHandle<T, Destroy> wraps libnotmuch's C handles (query, threads, messages, thread, message, tags) so early returns in the query paths can't leak.