summaryrefslogtreecommitdiffstatshomepage
path: root/py/gc.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-12 16:32:21 -0800
committerDamien George <damien.p.george@gmail.com>2014-01-12 16:32:21 -0800
commitec3e14e2af48432a406d840896ae4551ddff0b7f (patch)
treeaa885d4d1d6840c3ecfa08ecaea5cfdc6dd0c251 /py/gc.c
parent45eb6eaa547384b595b8ef489bd5feb36e9c8ef1 (diff)
parent48b3572f7eb70a1af97f008d342ee266fdfc0717 (diff)
downloadmicropython-ec3e14e2af48432a406d840896ae4551ddff0b7f.tar.gz
micropython-ec3e14e2af48432a406d840896ae4551ddff0b7f.zip
Merge pull request #160 from pfalcon/elaborate-int
Elaborate small-int/long-int
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 054a3cc315..70b071ebc8 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