]> git.ipfire.org Git - thirdparty/git.git/blame_incremental - alloc.h
path.c: don't call the match function without value in trie_find()
[thirdparty/git.git] / alloc.h
... / ...
CommitLineData
1#ifndef ALLOC_H
2#define ALLOC_H
3
4struct alloc_state;
5struct tree;
6struct commit;
7struct tag;
8struct repository;
9
10void *alloc_blob_node(struct repository *r);
11void *alloc_tree_node(struct repository *r);
12void init_commit_node(struct repository *r, struct commit *c);
13void *alloc_commit_node(struct repository *r);
14void *alloc_tag_node(struct repository *r);
15void *alloc_object_node(struct repository *r);
16void alloc_report(struct repository *r);
17
18struct alloc_state *allocate_alloc_state(void);
19void clear_alloc_state(struct alloc_state *s);
20
21#endif