Re: [PATCH v3 01/15] commit-slab.h: code split

2018-05-20 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > The struct declaration and implementation macros are moved to > commit-slab-hdr.h and commit-slab-impl.h respectively. s/hdr/decl/; > > This right now is not needed for current users but if we make a public > commit-slab type, we may want to

[PATCH v3 01/15] commit-slab.h: code split

2018-05-18 Thread Nguyễn Thái Ngọc Duy
The struct declaration and implementation macros are moved to commit-slab-hdr.h and commit-slab-impl.h respectively. This right now is not needed for current users but if we make a public commit-slab type, we may want to avoid including the slab implementation in a header file which gets