summaryrefslogtreecommitdiff
path: root/py/gc.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-12 16:10:19 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-12 22:04:20 +0200
commitfc5aac82cb9dd2aeb1dd6bc53301d70e9002afa5 (patch)
treede9221978f927389f6a8dd3fd6df2f924f2e118e /py/gc.c
parentfd17921b75817a07d688ccaa9130f65c1181f910 (diff)
Move BITS_PER_BYTE, BITS_PER_WORD to mpconfig.h for reuse.
Diffstat (limited to 'py/gc.c')
-rw-r--r--py/gc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/py/gc.c b/py/gc.c
index 054a3cc31..70b071ebc 100644
--- a/py/gc.c
+++ b/py/gc.c
@@ -8,15 +8,8 @@
#if MICROPY_ENABLE_GC
-// a machine word is big enough to hold a pointer
-/*
-#define BYTES_PER_WORD (8)
-typedef unsigned long machine_uint_t;
-*/
typedef unsigned char byte;
-#define BITS_PER_BYTE (8)
-#define BITS_PER_WORD (BITS_PER_BYTE * BYTES_PER_WORD)
#define WORDS_PER_BLOCK (4)
#define BYTES_PER_BLOCK (WORDS_PER_BLOCK * BYTES_PER_WORD)
#define STACK_SIZE (64) // tunable; minimum is 1