Merge branch 'pw/xdiff-alloc'
commit0f609558fc537a3e87f16e6c43eb538056878833
authorJunio C Hamano <gitster@pobox.com>
Wed, 3 Aug 2022 20:36:07 +0000 (3 13:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Aug 2022 20:36:07 +0000 (3 13:36 -0700)
treeefefd3af56c1efd9f0fcbce5aa0c9c51fb78c62e
parentacbec18d8e763069f55f895d15ebb37e9162357d
parentf7b587bf656574103a0a2ad9c2337b0d15c0e92d
Merge branch 'pw/xdiff-alloc'

Add a level of redirection to array allocation API in xdiff part,
to make it easier to share with the libgit2 project.

* pw/xdiff-alloc:
  xdiff: introduce XDL_ALLOC_GROW()
  xdiff: introduce XDL_CALLOC_ARRAY()
  xdiff: introduce xdl_calloc
  xdiff: introduce XDL_ALLOC_ARRAY()