X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=mymemory.h;h=2bec138381e45768d9d6f2129824eca9ebdc23e9;hb=322fd21c16209780d43872cc44bb68d38172eabc;hp=f2f2c2b852b68f8e3f8076b66753792cc907680a;hpb=02792abf9399d1dca2fab7bc511f09e934d05f1d;p=c11tester.git diff --git a/mymemory.h b/mymemory.h index f2f2c2b8..2bec1383 100644 --- a/mymemory.h +++ b/mymemory.h @@ -18,7 +18,6 @@ void *MYMALLOC(size_t size); void MYFREE(void *ptr); -void AddUserHeapToSnapshot(); /* The following code example is taken from the book The C++ Standard Library - A Tutorial and Reference @@ -109,7 +108,6 @@ template return false; } - #ifdef __cplusplus extern "C" { #endif @@ -118,6 +116,7 @@ extern void* mspace_malloc(mspace msp, size_t bytes); extern void mspace_free(mspace msp, void* mem); extern mspace create_mspace_with_base(void* base, size_t capacity, int locked); extern mspace create_mspace(size_t capacity, int locked); +extern mspace mySpace; #ifdef __cplusplus }; /* end of extern "C" */ #endif