… | |
… | |
20 | # define rxvt_attribute(x) |
20 | # define rxvt_attribute(x) |
21 | # define expect(expr,value) (expr) |
21 | # define expect(expr,value) (expr) |
22 | #endif |
22 | #endif |
23 | |
23 | |
24 | // put into ifs if you are very sure that the expression |
24 | // put into ifs if you are very sure that the expression |
25 | // is mostly true or mosty false. note that these return |
25 | // is mostly true or mostly false. note that these return |
26 | // booleans, not the expression. |
26 | // booleans, not the expression. |
27 | #define expect_false(expr) expect ((expr) != 0, 0) |
27 | #define expect_false(expr) expect ((expr) != 0, 0) |
28 | #define expect_true(expr) expect ((expr) != 0, 1) |
28 | #define expect_true(expr) expect ((expr) != 0, 1) |
29 | |
29 | |
30 | #define NORETURN rxvt_attribute ((noreturn)) |
30 | #define NORETURN rxvt_attribute ((noreturn)) |