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();