diff options
author | Benny Baumann <BenBE@geshi.org> | 2024-04-18 10:12:00 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2024-04-18 10:13:33 +0200 |
commit | 0a1db8a770128dec1bb78e5e5217c169a797d0bc (patch) | |
tree | 88fd8febf46e5e42bcbc2298efa4edbd7a2c4cbd /FunctionBar.h | |
parent | 9cc1c5ea15cc7f7fa6ebcdee151df9da56e95009 (diff) |
Avoid magic numbers for the size of FunctionBar lists
Diffstat (limited to 'FunctionBar.h')
-rw-r--r-- | FunctionBar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FunctionBar.h b/FunctionBar.h index f01a5ef5..06d9c6c8 100644 --- a/FunctionBar.h +++ b/FunctionBar.h @@ -21,6 +21,8 @@ typedef struct FunctionBar_ { bool staticData; } FunctionBar; +#define FUNCTIONBAR_MAXEVENTS 15 + FunctionBar* FunctionBar_newEnterEsc(const char* enter, const char* esc); FunctionBar* FunctionBar_new(const char* const* functions, const char* const* keys, const int* events); |