diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-05 22:48:02 +0300 | 
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-05 22:48:02 +0300 | 
| commit | 755a55f5070c442a7e2bacf976a73359d1da68a2 (patch) | |
| tree | 8aa5dc52c5753a2984c879ec2f8086d06052c0fc /py/mpconfig.h | |
| parent | d4c2bddd0c768da12d0cefd3c405b10e75fa5aa9 (diff) | |
modgc: Implement return value for gc.collect(), enable on Unix.
Diffstat (limited to 'py/mpconfig.h')
| -rw-r--r-- | py/mpconfig.h | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/py/mpconfig.h b/py/mpconfig.h index 77b76bf13..93e98c25b 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -279,6 +279,11 @@ typedef double mp_float_t;  #define MICROPY_PY_GC (1)  #endif +// Whether to return number of collected objects from gc.collect() +#ifndef MICROPY_PY_GC_COLLECT_RETVAL +#define MICROPY_PY_GC_COLLECT_RETVAL (0) +#endif +  // Whether to provide "io" module  #ifndef MICROPY_PY_IO  #define MICROPY_PY_IO (1) | 
