Skip to content

Commit b4eccfd

Browse files
committed
py/mpconfig: Actually allow to override MICROPY_BYTES_PER_GC_BLOCK.
1 parent 30d0cf4 commit b4eccfd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

py/mpconfig.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@
9898

9999
// Number of bytes in memory allocation/GC block. Any size allocated will be
100100
// rounded up to be multiples of this.
101+
#ifndef MICROPY_BYTES_PER_GC_BLOCK
101102
#define MICROPY_BYTES_PER_GC_BLOCK (4 * BYTES_PER_WORD)
103+
#endif
102104

103105
// Number of words allocated (in BSS) to the GC stack (minimum is 1)
104106
#ifndef MICROPY_ALLOC_GC_STACK_SIZE

0 commit comments

Comments
 (0)