mymemory: implement snapshot_*() allocations on model-checker's heap
[c11tester.git] / mymemory.h
index 0788e69f39c7beceef47a9944fb4ebee059346c7..d7c4f99599ac785f9abdb9845c00bc563db0b747 100644 (file)
@@ -47,6 +47,7 @@ void model_free(void *ptr);
 
 void * snapshot_malloc(size_t size);
 void * snapshot_calloc(size_t count, size_t size);
+void * snapshot_realloc(void *ptr, size_t size);
 void snapshot_free(void *ptr);
 
 /** @brief Provides a non-snapshotting allocator for use in STL classes.
@@ -156,6 +157,8 @@ extern mspace create_mspace(size_t capacity, int locked);
 extern mspace user_snapshot_space;
 #endif
 
+extern mspace model_snapshot_space;
+
 #ifdef __cplusplus
 };  /* end of extern "C" */
 #endif