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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-03-20 18:51:33 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-03-20 18:51:33 +0300
commita5bb91839219532d133d5561c23120fae6b73cff (patch)
tree415809f3b321fce4f1a268138225551d4e92114b /intern/guardedalloc/MEM_guardedalloc.h
parent4f97f585135b0e040281e95ca59f6d4a9472d637 (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.h4
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. */