Refactor the using of bool type
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user