summaryrefslogtreecommitdiff
path: root/py/mpstate.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-11-27 13:07:48 +0000
committerDamien George <damien.p.george@gmail.com>2015-11-29 14:25:04 +0000
commit94fe6e523d42ecc342c1f6a9734ed2edf232ddbd (patch)
treedc09a9c9d439fb8e4b7b8477b87de16261430eb7 /py/mpstate.h
parent254cfa6c3189983050e66ccb4ec267b41299dd64 (diff)
py/gc: Move away from using mp_uint_t, instead use uintptr_t and size_t.
The GC works with concrete pointers and so the types should reflect this.
Diffstat (limited to 'py/mpstate.h')
-rw-r--r--py/mpstate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index c1c1faef0..78f497e60 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -52,8 +52,8 @@ typedef struct _mp_state_mem_t {
#if MICROPY_ENABLE_FINALISER
byte *gc_finaliser_table_start;
#endif
- mp_uint_t *gc_pool_start;
- mp_uint_t *gc_pool_end;
+ byte *gc_pool_start;
+ byte *gc_pool_end;
int gc_stack_overflow;
mp_uint_t gc_stack[MICROPY_ALLOC_GC_STACK_SIZE];