diff options
author | Damien George <damien.p.george@gmail.com> | 2014-07-03 13:25:24 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-07-03 13:25:24 +0100 |
commit | 40f3c026823f8951a2fa04e9c7fc93c75bc27bec (patch) | |
tree | c9c8210654c7114f00c5234a8481d9b5fbd28ce0 /py/gc.h | |
parent | 065aba587571150074ea79483ffa72c0fe6bc8c8 (diff) |
Rename machine_(u)int_t to mp_(u)int_t.
See discussion in issue #50.
Diffstat (limited to 'py/gc.h')
-rw-r--r-- | py/gc.h | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -35,21 +35,21 @@ bool gc_is_locked(void); // A given port must implement gc_collect by using the other collect functions. void gc_collect(void); void gc_collect_start(void); -void gc_collect_root(void **ptrs, machine_uint_t len); +void gc_collect_root(void **ptrs, mp_uint_t len); void gc_collect_end(void); -void *gc_alloc(machine_uint_t n_bytes, bool has_finaliser); +void *gc_alloc(mp_uint_t n_bytes, bool has_finaliser); void gc_free(void *ptr); -machine_uint_t gc_nbytes(void *ptr); -void *gc_realloc(void *ptr, machine_uint_t n_bytes); +mp_uint_t gc_nbytes(void *ptr); +void *gc_realloc(void *ptr, mp_uint_t n_bytes); typedef struct _gc_info_t { - machine_uint_t total; - machine_uint_t used; - machine_uint_t free; - machine_uint_t num_1block; - machine_uint_t num_2block; - machine_uint_t max_block; + mp_uint_t total; + mp_uint_t used; + mp_uint_t free; + mp_uint_t num_1block; + mp_uint_t num_2block; + mp_uint_t max_block; } gc_info_t; void gc_info(gc_info_t *info); |