Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-07-14 19:29:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-14 19:29:45 +0400
commite4cfcdc3a601b6f2114000075cc0541930adcec6 (patch)
tree0e6078724974a41a76d2ae741e8f7b4293c99b33 /intern/guardedalloc/MEM_guardedalloc.h
parentfc3cd6eb801d6c9a6a95d63198f0c815d4deb072 (diff)
header comment cleanup, explain whats the difference between confusingly named drarnode.c and node_draw.c.
Diffstat (limited to 'intern/guardedalloc/MEM_guardedalloc.h')
-rw-r--r--intern/guardedalloc/MEM_guardedalloc.h29
1 files changed, 16 insertions, 13 deletions
diff --git a/intern/guardedalloc/MEM_guardedalloc.h b/intern/guardedalloc/MEM_guardedalloc.h
index dfb3fe69474..65ce7baba1e 100644
--- a/intern/guardedalloc/MEM_guardedalloc.h
+++ b/intern/guardedalloc/MEM_guardedalloc.h
@@ -20,19 +20,19 @@
*
* The Original Code is: all of this file.
*
- * Contributor(s): none yet.
+ * Contributor(s): Brecht Van Lommel
+ * Campbell Barton
*
* ***** END GPL LICENSE BLOCK *****
*/
-/** \file MEM_guardedalloc.h
- * \ingroup MEM
+/**
+ * \file MEM_guardedalloc.h
+ * \ingroup MEM
+ *
+ * \author Copyright (C) 2001 NaN Technologies B.V.
+ * \brief Read \ref MEMPage
*
- * \author Copyright (C) 2001 NaN Technologies B.V.
- * \brief Read \ref MEMPage
- */
-
-/**
* \page MEMPage Guarded memory(de)allocation
*
* \section aboutmem c-style guarded memory allocation
@@ -118,8 +118,9 @@ extern "C" {
__attribute__((alloc_size(1)))
#endif
;
-
- /** Allocate a block of memory of size len, with tag name str. The
+
+ /**
+ * Allocate a block of memory of size len, with tag name str. The
* name must be a static, because only a pointer to it is stored !
* */
void *MEM_mallocN(size_t len, const char *str)
@@ -129,8 +130,9 @@ extern "C" {
__attribute__((alloc_size(1)))
#endif
;
-
- /** Same as callocN, clears memory and uses mmap (disk cached) if supported.
+
+ /**
+ * Same as callocN, clears memory and uses mmap (disk cached) if supported.
* Can be free'd with MEM_freeN as usual.
* */
void *MEM_mapallocN(size_t len, const char *str)
@@ -171,7 +173,8 @@ extern "C" {
/** Attempt to enforce OSX (or other OS's) to have malloc and stack nonzero */
void MEM_set_memory_debug(void);
- /** Memory usage stats
+ /**
+ * Memory usage stats
* - MEM_get_memory_in_use is all memory
* - MEM_get_mapped_memory_in_use is a subset of all memory */
uintptr_t MEM_get_memory_in_use(void);