From bf796acf075c2abfea2ded507cb2840e6481abe7 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Sat, 28 Sep 2013 11:06:38 +0200
Subject: [PATCH] Added implementation for memory_buffer_set_verify()
---
library/memory_buffer_alloc.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/library/memory_buffer_alloc.c b/library/memory_buffer_alloc.c
index c44392000..de2811fb2 100644
--- a/library/memory_buffer_alloc.c
+++ b/library/memory_buffer_alloc.c
@@ -464,6 +464,11 @@ static void buffer_alloc_free( void *ptr )
exit( 1 );
}
+void memory_buffer_set_verify( int verify )
+{
+ heap.verify = verify;
+}
+
int memory_buffer_alloc_verify()
{
return verify_chain();