summaryrefslogtreecommitdiff
path: root/src/newgrf_class_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_class_func.h')
-rw-r--r--src/newgrf_class_func.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newgrf_class_func.h b/src/newgrf_class_func.h
index 5735889ec..c4e9f7963 100644
--- a/src/newgrf_class_func.h
+++ b/src/newgrf_class_func.h
@@ -13,6 +13,10 @@
#include "table/strings.h"
+/**
+ * Helper for defining the class method's signatures.
+ * @param type The type of the class.
+ */
#define DEFINE_NEWGRF_CLASS_METHOD(type) \
template <typename Tspec, typename Tid, Tid Tmax> \
type NewGRFClass<Tspec, Tid, Tmax>