diff options
author | Damien George <damien.p.george@gmail.com> | 2014-10-24 23:12:25 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-10-24 23:12:25 +0100 |
commit | 0b13f3e026c842facf65743450246b15a8c2e064 (patch) | |
tree | 4793550a3701f766428d3f42e76086896e10100f /py/gc.h | |
parent | 564963a1700bfca8f053f864ad170d4a34a26270 (diff) |
py: Improve memory usage debugging; better GC AT dumping.
In unix port, mem_info(1) now prints pretty GC alloc table.
Diffstat (limited to 'py/gc.h')
-rw-r--r-- | py/gc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ void gc_collect_end(void); void *gc_alloc(mp_uint_t n_bytes, bool has_finaliser); void gc_free(void *ptr); -mp_uint_t gc_nbytes(void *ptr); +mp_uint_t gc_nbytes(const void *ptr); void *gc_realloc(void *ptr, mp_uint_t n_bytes); typedef struct _gc_info_t { |