Global: unifies GCC attributes usage

This commit is contained in:
Carter Li
2026-04-09 16:20:59 +08:00
committed by 李通洲
parent 3e69361196
commit f6a363f7ad
233 changed files with 516 additions and 545 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#include "modules/modules.h"
#define MODULE_OPTION(name) \
__attribute__((cleanup(ffDestroy##name##Options))) FF##name##Options options; \
FF_A_CLEANUP(ffDestroy##name##Options) FF##name##Options options; \
ffInit##name##Options(&options);
// A dirty replicate of neofetch; demonstration only.