diff options
Diffstat (limited to 'intern/guardedalloc/MEM_guardedalloc.h')
-rw-r--r-- | intern/guardedalloc/MEM_guardedalloc.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/intern/guardedalloc/MEM_guardedalloc.h b/intern/guardedalloc/MEM_guardedalloc.h index 81ce10a4150..91d328afbad 100644 --- a/intern/guardedalloc/MEM_guardedalloc.h +++ b/intern/guardedalloc/MEM_guardedalloc.h @@ -17,11 +17,9 @@ * All rights reserved. */ -/** - * \file MEM_guardedalloc.h +/** \file * \ingroup MEM * - * \author Copyright (C) 2001 NaN Technologies B.V. * \brief Read \ref MEMPage * * \page MEMPage Guarded memory(de)allocation @@ -39,11 +37,11 @@ * * There are currently no known issues with MEM. Note that there is a * second intern/ module with MEM_ prefix, for use in c++. - * + * * \subsection memdependencies Dependencies * - stdlib * - stdio - * + * * \subsection memdocs API Documentation * See \ref MEM_guardedalloc.h */ @@ -137,11 +135,11 @@ extern "C" { extern void *(*MEM_mapallocN)(size_t len, const char *str) /* ATTR_MALLOC */ ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1) ATTR_NONNULL(2); /** Print a list of the names and sizes of all allocated memory - * blocks. as a python dict for easy investigation */ + * blocks. as a python dict for easy investigation */ extern void (*MEM_printmemlist_pydict)(void); /** Print a list of the names and sizes of all allocated memory - * blocks. */ + * blocks. */ extern void (*MEM_printmemlist)(void); /** calls the function on all allocated memory blocks. */ @@ -149,7 +147,7 @@ extern "C" { /** Print statistics about memory usage */ extern void (*MEM_printmemlist_stats)(void); - + /** Set the callback function for error output. */ extern void (*MEM_set_error_callback)(void (*func)(const char *)); @@ -162,7 +160,7 @@ extern "C" { /** Set thread locking functions for safe memory allocation from multiple * threads, pass NULL pointers to disable thread locking again. */ extern void (*MEM_set_lock_callback)(void (*lock)(void), void (*unlock)(void)); - + /** Attempt to enforce OSX (or other OS's) to have malloc and stack nonzero */ extern void (*MEM_set_memory_debug)(void); |