(svn r15291) -Cleanup: Move the station list widgets to their class from station_gui.h

-Fix: comment for ReallocT was wrong, the memory is not zeroed.
This commit is contained in:
Yexo
2009-01-29 02:42:36 +00:00
parent 3671ed9e4f
commit 0e42a7bac7
3 changed files with 33 additions and 30 deletions

View File

@@ -69,7 +69,7 @@ static FORCEINLINE T *CallocT(size_t num_elements)
* elements of the given type. It also explicitly casts it to the requested
* type. It extends/shrinks the memory allocation given in t_ptr.
* @note throws an error when there is no memory anymore.
* @note the memory contains all zero values.
* @note the pointer to the data may change, but the data will remain valid.
* @param 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.