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.
This commit is contained in:
Damien George
2015-11-27 13:07:48 +00:00
parent 254cfa6c31
commit 94fe6e523d
3 changed files with 47 additions and 47 deletions

View File

@@ -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];