Remove GENERAL_MALLOC internal macro
authorIvan Maidanski <ivmai@mail.ru>
Mon, 13 Nov 2017 19:58:37 +0000 (22:58 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 14 Nov 2017 08:36:36 +0000 (11:36 +0300)
commit1e4e2cc93b5bead46518ce8028535492da662690
tree614f3bc84cfe206b6ffa265b0403742bc9c7bb97
parent04fd7b5309596423e4342502d3123028d836d551
Remove GENERAL_MALLOC internal macro
(code refactoring)

* alloc.c: Update comment (about GC_allocobj usage).
* include/private/gc_priv.h (GENERAL_MALLOC): Remove.
* include/private/gc_priv.h (GENERAL_MALLOC_IOP): Move to typd_mlc.c.
* malloc.c (GC_malloc_kind_global): Expand GENERAL_MALLOC macro; copy
the comment from gc_priv.h.
alloc.c
include/private/gc_priv.h
malloc.c
typd_mlc.c