summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_utility_functions.cpp
diff options
context:
space:
mode:
authorClay John <claynjohn@gmail.com>2024-10-24 19:11:42 -0700
committerGitHub <noreply@github.com>2024-10-24 19:11:42 -0700
commitb5368d5e407115e5bed4abe2070b967e7b14a249 (patch)
tree8278b0fe132f5347d888bbd946c92ec88573c66e /modules/gdscript/gdscript_utility_functions.cpp
parentb4ba0f983a02f671862cdddfa6a4808b226e9b6b (diff)
parent8c29ef38fcd4d8d41a27b5722f57d807c4ae0e6b (diff)
downloadredot-engine-b5368d5e407115e5bed4abe2070b967e7b14a249.tar.gz
Merge pull request #98356 from dustdfg/gdscript_endif_readability_comments
Add some comments to `#endif's` where it helps readability
Diffstat (limited to 'modules/gdscript/gdscript_utility_functions.cpp')
-rw-r--r--modules/gdscript/gdscript_utility_functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_utility_functions.cpp b/modules/gdscript/gdscript_utility_functions.cpp
index 59dd983ed2..7dc586186b 100644
--- a/modules/gdscript/gdscript_utility_functions.cpp
+++ b/modules/gdscript/gdscript_utility_functions.cpp
@@ -74,13 +74,13 @@
return; \
}
-#else
+#else // !DEBUG_ENABLED
#define VALIDATE_ARG_COUNT(m_count)
#define VALIDATE_ARG_INT(m_arg)
#define VALIDATE_ARG_NUM(m_arg)
-#endif
+#endif // DEBUG_ENABLED
struct GDScriptUtilityFunctionsDefinitions {
#ifndef DISABLE_DEPRECATED