]> git.ipfire.org Git - thirdparty/git.git/blame - alloc.h
tests: use 'test_must_be_empty' instead of '! test -s'
[thirdparty/git.git] / alloc.h
CommitLineData
14ba97f8
SB
1#ifndef ALLOC_H
2#define ALLOC_H
3
4struct tree;
5struct commit;
6struct tag;
7
8void *alloc_blob_node(struct repository *r);
9void *alloc_tree_node(struct repository *r);
10void *alloc_commit_node(struct repository *r);
11void *alloc_tag_node(struct repository *r);
12void *alloc_object_node(struct repository *r);
13void alloc_report(struct repository *r);
14unsigned int alloc_commit_index(struct repository *r);
15
16void *allocate_alloc_state(void);
17void clear_alloc_state(struct alloc_state *s);
18
19#endif