commit-slab: support shared commit-slab
define_shared_commit_slab() could be used in a header file to define a commit-slab. One of these C files must include commit-slab-impl.h and "call" implement_shared_commit_slab(). Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
a9f1f1f9f8
commit
878f0bb819
@ -46,6 +46,6 @@
|
||||
|
||||
#define define_commit_slab(slabname, elemtype) \
|
||||
declare_commit_slab(slabname, elemtype); \
|
||||
implement_commit_slab(slabname, elemtype)
|
||||
implement_static_commit_slab(slabname, elemtype)
|
||||
|
||||
#endif /* COMMIT_SLAB_H */
|
||||
|
||||
Reference in New Issue
Block a user