modgc: Add mem_free()/mem_alloc() methods.

Return free/allocated memory on GC heap.
This commit is contained in:
Paul Sokolovsky
2014-06-24 21:23:40 +03:00
parent e973acde81
commit 5aa740c3e2
2 changed files with 18 additions and 0 deletions

View File

@@ -377,6 +377,8 @@ Q(gc)
Q(collect)
Q(disable)
Q(enable)
Q(mem_free)
Q(mem_alloc)
#endif
#if MICROPY_PY_BUILTINS_PROPERTY