diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-03-20 18:51:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-03-20 18:51:33 +0300 |
commit | a5bb91839219532d133d5561c23120fae6b73cff (patch) | |
tree | 415809f3b321fce4f1a268138225551d4e92114b /intern/guardedalloc/MEM_guardedalloc.h | |
parent | 4f97f585135b0e040281e95ca59f6d4a9472d637 (diff) |
Memory allocator: Clarify consistency check function
Also make it to return truth when everything is good and
false otherwise.
Diffstat (limited to 'intern/guardedalloc/MEM_guardedalloc.h')
-rw-r--r-- | intern/guardedalloc/MEM_guardedalloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/guardedalloc/MEM_guardedalloc.h b/intern/guardedalloc/MEM_guardedalloc.h index a57921223e2..65650209711 100644 --- a/intern/guardedalloc/MEM_guardedalloc.h +++ b/intern/guardedalloc/MEM_guardedalloc.h @@ -165,8 +165,8 @@ extern "C" { /** * Are the start/end block markers still correct ? * - * @retval 0 for correct memory, 1 for corrupted memory. */ - extern bool (*MEM_check_memory_integrity)(void); + * @retval true for correct memory, false for corrupted memory. */ + extern bool (*MEM_consistency_check)(void); /** Set thread locking functions for safe memory allocation from multiple * threads, pass NULL pointers to disable thread locking again. */ |