diff options
| author | Michael Bebenita <[email protected]> | 2010-07-27 23:10:31 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-28 20:30:28 -0700 |
| commit | 6afb6c767ed3274359bcac5af5a11851922e3668 (patch) | |
| tree | 090572a274b2c860878863c725bfe93ffad48d52 /src/rt/rust.h | |
| parent | Log a separator when logging switches between threads. (diff) | |
| download | rust-6afb6c767ed3274359bcac5af5a11851922e3668.tar.xz rust-6afb6c767ed3274359bcac5af5a11851922e3668.zip | |
Move allocation-tracking into rust_srv.
Diffstat (limited to 'src/rt/rust.h')
| -rw-r--r-- | src/rt/rust.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rt/rust.h b/src/rt/rust.h index 135a1799..c65d0eb1 100644 --- a/src/rt/rust.h +++ b/src/rt/rust.h @@ -17,8 +17,11 @@ #define CDECL #endif +#include "util/array_list.h" + struct rust_srv { size_t live_allocs; + array_list<void *> allocation_list; virtual void log(char const *); virtual void fatal(char const *, char const *, size_t); |