Refactor the using of bool type

This commit is contained in:
2022-06-09 16:29:10 +03:00
parent 5a8a7ee6ef
commit af5b89a2f4
22 changed files with 950 additions and 950 deletions
+2 -2
View File
@@ -31,8 +31,8 @@
# define nullptr ((void*)0)
#endif
#define true ((_Bool)1)
#define false ((_Bool)0)
#define true ((bool)1)
#define false ((bool)0)
#define abs(v) _Generic((v), ldbl_t: fabsl, dbl_t: fabs, fl_t: fabsf)(v)