diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2015-07-28 11:20:44 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2015-07-28 11:20:44 +0300 |
commit | 06799865aaeb8aa08218aff0346e2144b635dd7b (patch) | |
tree | b91f3850995ee9fd7d1419db59617f20bb82066d /misc.c | |
parent | 11601b978a7abfdc7ecc3d0ee5e2fb5b3e0b73f2 (diff) | |
download | bdwgc-06799865aaeb8aa08218aff0346e2144b635dd7b.tar.gz |
Replace non-API occurrences of GC_word to word
(code refactoring)
* finalize.c (last_finalizer_notification): Use "word" type instead of
GC_word.
* include/private/dbg_mlc.h (HIDE_BACK_PTR): Likewise.
* include/private/gc_priv.h (WARN): Likewise.
* include/private/gcconfig.h (POINTER_MASK): Likewise.
* mark.c (GC_push_marked): Likewise.
* misc.c (GC_init, GC_set_max_retries): Likewise.
* os_dep.c (GC_unmap, GC_remap, GC_unmap_gap): Likewise.
* typd_mlc.c (GC_add_ext_descriptor): Likewise.
* include/private/gcconfig.h (GC_amiga_get_mem, ps3_get_mem): Rename
argument to bytes.
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1098,7 +1098,7 @@ GC_API void GC_CALL GC_init(void) if (space_divisor_string != NULL) { int space_divisor = atoi(space_divisor_string); if (space_divisor > 0) - GC_free_space_divisor = (GC_word)space_divisor; + GC_free_space_divisor = (word)space_divisor; } } # ifdef USE_MUNMAP @@ -2243,7 +2243,7 @@ GC_API GC_word GC_CALL GC_get_free_space_divisor(void) GC_API void GC_CALL GC_set_max_retries(GC_word value) { - GC_ASSERT(value != ~(GC_word)0); + GC_ASSERT(value != ~(word)0); GC_max_retries = value; } |