changeset 33976:b2d3a97cab66

Add doxygen comments to mem.h.
author ib
date Tue, 06 Sep 2011 08:52:01 +0000
parents bca5fbd1d73c
children 0e369065b585
files gui/util/mem.h
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/util/mem.h	Tue Sep 06 08:51:16 2011 +0000
+++ b/gui/util/mem.h	Tue Sep 06 08:52:01 2011 +0000
@@ -16,11 +16,20 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+/**
+ * @file
+ * @brief Memory management helpers
+ */
+
 #ifndef MPLAYER_GUI_MEM_H
 #define MPLAYER_GUI_MEM_H
 
 #include <stdlib.h>
 
+/**
+ * @def nfree(p)
+ * Free @a p and set it to NULL.
+ */
 #define nfree(p) do { free(p); p = NULL; } while (0)
 
 #endif /* MPLAYER_GUI_MEM_H */