diff options
author | saturneric <[email protected]> | 2025-06-07 02:13:10 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-06-07 02:13:10 +0000 |
commit | 1d8fd9d277d8cdb400306624ab175ea933dffea9 (patch) | |
tree | 0d8b4571e12192bcdfd880c1d1094bd92f9401b3 | |
parent | feat(utils): add secure string duplication functions and update memory handling (diff) | |
download | Modules-1d8fd9d277d8cdb400306624ab175ea933dffea9.tar.gz Modules-1d8fd9d277d8cdb400306624ab175ea933dffea9.zip |
- prevent potential macro redefinition warnings
- ensure clean slate for macro definitions
-rw-r--r-- | include/GFModuleCommonUtils.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/GFModuleCommonUtils.hpp b/include/GFModuleCommonUtils.hpp index b7fa00e..9a4a101 100644 --- a/include/GFModuleCommonUtils.hpp +++ b/include/GFModuleCommonUtils.hpp @@ -85,12 +85,14 @@ #define END_EXECUTE_MODULE() } +#undef CB_SUCC #define CB_SUCC(event) \ { \ CB(event, GFGetModuleID(), {{"ret", "0"}}); \ return 0; \ } +#undef CB_ERR #define CB_ERR(event, ret, err) \ { \ CB(event, GFGetModuleID(), \ |