mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 22:46:22 +00:00
Command list size now calculated
No longer have to specify size, and keep it up to date when adding new commands
This commit is contained in:
@@ -49,6 +49,8 @@ typedef enum {
|
||||
#define notify_notification_new(summary, body, icon) notify_notification_new(summary, body, icon, NULL)
|
||||
#endif
|
||||
|
||||
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
|
||||
|
||||
void p_slist_free_full(GSList *items, GDestroyNotify free_func);
|
||||
void create_config_directory(void);
|
||||
void create_dir(char *name);
|
||||
|
||||
Reference in New Issue
Block a user