diff options
author | Damien George <damien.p.george@gmail.com> | 2015-02-27 09:54:12 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-03-03 21:23:13 +0000 |
commit | d891452a73165966497f1c79b64276faaa664597 (patch) | |
tree | 6a04e942861bbcb6a7321dffd65895f3a38056a7 /unix/mpconfigport.h | |
parent | e104acdb8ccd53963f5415edc8c9ab88aeca771a (diff) | |
download | micropython-d891452a73165966497f1c79b64276faaa664597.tar.gz micropython-d891452a73165966497f1c79b64276faaa664597.zip |
py: Add MICROPY_MALLOC_USES_ALLOCATED_SIZE to allow simpler malloc API.
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r-- | unix/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 8c28915631..3cd9d15933 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -43,6 +43,7 @@ #define MICROPY_ENABLE_GC (1) #define MICROPY_ENABLE_FINALISER (1) #define MICROPY_STACK_CHECK (1) +#define MICROPY_MALLOC_USES_ALLOCATED_SIZE (1) #define MICROPY_MEM_STATS (1) #define MICROPY_DEBUG_PRINTERS (1) #define MICROPY_HELPER_REPL (1) |