Further rewrite safety handling
This commit is contained in:
@@ -36,4 +36,6 @@
|
||||
|
||||
#define ABS(a) ((a) < 0 ? (-1*(a)) : (a))
|
||||
|
||||
#define is_power_of_two(num) ((num) && !((num) & ((num) - 1)))
|
||||
|
||||
#endif /* __HELPER_MACROS_H__ */
|
||||
|
Reference in New Issue
Block a user