Merge branch 'jc/no-default-attr-tree-in-bare' into maint-2.45
[alt-git.git] / alloc.h
blob3f4a0ad310a94bd026f48f48491985e3e2053ee2
1 #ifndef ALLOC_H
2 #define ALLOC_H
4 struct alloc_state;
5 struct tree;
6 struct commit;
7 struct tag;
8 struct repository;
10 void *alloc_blob_node(struct repository *r);
11 void *alloc_tree_node(struct repository *r);
12 void init_commit_node(struct commit *c);
13 void *alloc_commit_node(struct repository *r);
14 void *alloc_tag_node(struct repository *r);
15 void *alloc_object_node(struct repository *r);
17 struct alloc_state *allocate_alloc_state(void);
18 void clear_alloc_state(struct alloc_state *s);
20 #endif