Global: replaces __attribute__ to C23 [[attribute]]

This commit is contained in:
李通洲
2026-07-10 21:13:03 +08:00
parent ba18705d2e
commit 61656a1a7a
229 changed files with 619 additions and 648 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#include "modules/modules.h"
#define MODULE_OPTION(name) \
FF_A_CLEANUP(ffDestroy##name##Options) FF##name##Options options; \
[[gnu::cleanup(ffDestroy##name##Options)]] FF##name##Options options; \
ffInit##name##Options(&options);
// A dirty replicate of neofetch; demonstration only.