1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cheaders: add DEFAULT_EQUAL for future float eqbit()

This commit is contained in:
hazohelet 2019-09-29 23:39:38 +09:00 committed by Alexander Medvednikov
parent 83022a2478
commit 21f9dc6b7c

View File

@ -122,6 +122,7 @@ typedef map map_string;
#define _PUSH_MANY(arr, val, tmp, tmp_typ) {tmp_typ tmp = (val); array__push_many(arr, tmp.data, tmp.len);} #define _PUSH_MANY(arr, val, tmp, tmp_typ) {tmp_typ tmp = (val); array__push_many(arr, tmp.data, tmp.len);}
#define _IN(typ, val, arr) array_##typ##_contains(arr, val) #define _IN(typ, val, arr) array_##typ##_contains(arr, val)
#define _IN_MAP(val, m) map__exists(m, val) #define _IN_MAP(val, m) map__exists(m, val)
#define DEFAULT_EQUAL(a, b) (a == b)
//================================== GLOBALS =================================*/ //================================== GLOBALS =================================*/
byteptr g_str_buf; byteptr g_str_buf;
int load_so(byteptr); int load_so(byteptr);