mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-23 20:03:10 +00:00
remove macros
This commit is contained in:
parent
3d0cd574a2
commit
e6dec87666
1 changed files with 0 additions and 11 deletions
|
@ -1,11 +0,0 @@
|
|||
#ifndef MACROS_H
|
||||
#define MACROS_H
|
||||
|
||||
#define array_count(a) (sizeof((a)) / sizeof(*(a)))
|
||||
#define min(a, b) ((a) < (b) ? (a) : (b))
|
||||
#define max(a, b) ((a) > (b) ? (a) : (b))
|
||||
#define add_and_clamp_to_zero(a, b) (((a) + (b) <= 0) ? 0 : (a) + (b))
|
||||
|
||||
#define MAXLEN 512
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue