summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLoïc Guilloux <glx22@users.noreply.github.com>2021-06-11 16:40:04 +0200
committerGitHub <noreply@github.com>2021-06-11 16:40:04 +0200
commitee5f23382d551bedcc998ba7aaf92333885c21d4 (patch)
tree9111e9c4844446e87950abdd438a338ecd9ff046 /src
parentef25afd55ab868a4322d0c241b5c4898966ac919 (diff)
downloadopenttd-ee5f23382d551bedcc998ba7aaf92333885c21d4.tar.xz
Fix: [Script] doxygen_filter is very strict about DOXYGEN_API usage (#9351)
Diffstat (limited to 'src')
-rw-r--r--src/script/api/script_priorityqueue.hpp2
-rw-r--r--src/script/api/script_text.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/script_priorityqueue.hpp b/src/script/api/script_priorityqueue.hpp
index 5f8718e42..517f6ab0b 100644
--- a/src/script/api/script_priorityqueue.hpp
+++ b/src/script/api/script_priorityqueue.hpp
@@ -76,7 +76,7 @@ public:
SQInteger Peek(HSQUIRRELVM vm);
SQInteger Exists(HSQUIRRELVM vm);
SQInteger Clear(HSQUIRRELVM vm);
-#endif
+#endif /* DOXYGEN_API */
/**
* Check if the queue is empty.
diff --git a/src/script/api/script_text.hpp b/src/script/api/script_text.hpp
index 255369537..64cf2e799 100644
--- a/src/script/api/script_text.hpp
+++ b/src/script/api/script_text.hpp
@@ -88,7 +88,7 @@ public:
* @param ... Optional arguments for this string.
*/
ScriptText(StringID string, ...);
-#endif
+#endif /* DOXYGEN_API */
~ScriptText();
#ifndef DOXYGEN_API