atomic_inc_dec: add this to check_list.h
[smatch.git] / smatch_constants.h
blob1c274969f057131a9d1c30851d2bf1597da0694b
1 #include "expression.h"
3 #ifndef SMATCH_CONSTANTS_H_
4 #define SMATCH_CONSTANTS_H_
6 static const sval_t int_zero = { .type = &int_ctype, .value = 0 };
7 static const sval_t int_one = { .type = &int_ctype, .value = 1 };
8 static const sval_t err_min = { .type = &int_ctype, .value = -4095 };
9 static const sval_t err_max = { .type = &int_ctype, .value = -1 };
10 static const sval_t int_max = { .type = &int_ctype, .value = INT_MAX };
12 #endif