summaryrefslogtreecommitdiff
path: root/src/core/alloc_func.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-19 15:17:47 +0000
committerrubidium <rubidium@openttd.org>2009-09-19 15:17:47 +0000
commitca91a97826ad5de23855d0fe9a219f4889a8cd9e (patch)
tree87928a5a55ff401ea65443b8d291f609e9b46cf8 /src/core/alloc_func.hpp
parent89df436f84707182456461e3259e053303feb846 (diff)
downloadopenttd-ca91a97826ad5de23855d0fe9a219f4889a8cd9e.tar.xz
(svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary
Diffstat (limited to 'src/core/alloc_func.hpp')
-rw-r--r--src/core/alloc_func.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/alloc_func.hpp b/src/core/alloc_func.hpp
index e86a34763..5268803e8 100644
--- a/src/core/alloc_func.hpp
+++ b/src/core/alloc_func.hpp
@@ -27,7 +27,7 @@ void NORETURN ReallocError(size_t size);
* type.
* @note throws an error when there is no memory anymore.
* @note the memory contains garbage data (i.e. possibly non-zero values).
- * @param T the type of the variable(s) to allocation.
+ * @tparam T the type of the variable(s) to allocation.
* @param num_elements the number of elements to allocate of the given type.
* @return NULL when num_elements == 0, non-NULL otherwise.
*/
@@ -52,7 +52,7 @@ static FORCEINLINE T *MallocT(size_t num_elements)
* type.
* @note throws an error when there is no memory anymore.
* @note the memory contains all zero values.
- * @param T the type of the variable(s) to allocation.
+ * @tparam T the type of the variable(s) to allocation.
* @param num_elements the number of elements to allocate of the given type.
* @return NULL when num_elements == 0, non-NULL otherwise.
*/
@@ -77,7 +77,7 @@ static FORCEINLINE T *CallocT(size_t num_elements)
* type. It extends/shrinks the memory allocation given in t_ptr.
* @note throws an error when there is no memory anymore.
* @note the pointer to the data may change, but the data will remain valid.
- * @param T the type of the variable(s) to allocation.
+ * @tparam T the type of the variable(s) to allocation.
* @param t_ptr the previous allocation to extend/shrink.
* @param num_elements the number of elements to allocate of the given type.
* @return NULL when num_elements == 0, non-NULL otherwise.