mirror of
https://github.com/git/git.git
synced 2024-12-13 11:54:56 +08:00
91c080dff5
alloc_nr, ALLOC_GROW, and ALLOC_GROW_BY are commonly used macros for dynamic array allocation. Moving these macros to git-compat-util.h with the other alloc macros focuses alloc.[ch] to allocation for Git objects and additionally allows us to remove inclusions to alloc.h from files that solely used the above macros. Signed-off-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
||
---|---|---|
.. | ||
bitmap.c | ||
ewah_bitmap.c | ||
ewah_io.c | ||
ewah_rlw.c | ||
ewok_rlw.h | ||
ewok.h |