diff options
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -70,6 +70,7 @@ void debug_assert(const ledger::string& reason, #include <new> #include <iostream> #include <cstdlib> +#include <cassert> #include <boost/regex.hpp> @@ -108,6 +109,9 @@ bool _debug_active(const char * const cls); #define VALIDATE(x) #endif +extern int new_calls; +extern int new_size; + #if 0 void * operator new(std::size_t) throw (std::bad_alloc); void * operator new[](std::size_t) throw (std::bad_alloc); |