| H A D | checks.c | 67 #define CHECK(nm, tfn, nfn, pfn, d, lvl, ...) \ argument 68 static struct check *nm##_prereqs[] = { __VA_ARGS__ }; \ 69 static struct check nm = { \ 70 .name = #nm, \ 77 .num_prereqs = ARRAY_SIZE(nm##_prereqs), \ 78 .prereq = nm##_prereqs, \ 81 #define TREE_CHECK(nm, d, lvl, ...) \ argument 82 CHECK(nm, check_##nm, NULL, NULL, d, lvl, __VA_ARGS__) 83 #define NODE_CHECK(nm, d, lvl, ...) \ argument 84 CHECK(nm, NULL, check_##nm, NULL, d, lvl, __VA_ARGS__) [all …]
|