projects
/
notmuch.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gmime-extra: remove duplicate GMimeAddressType typedef
[notmuch.git]
/
test
/
notmuch-test.h
1
#ifndef _NOTMUCH_TEST_H
2
#define _NOTMUCH_TEST_H
3
#include <stdio.h>
4
#include <notmuch.h>
5
6
inline static void
7
expect0(int line, notmuch_status_t ret)
8
{
9
if (ret) {
10
fprintf (stderr, "line %d: %d\n", line, ret);
11
exit (1);
12
}
13
}
14
15
#define EXPECT0(v) expect0(__LINE__, v);
16
#endif