You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
488 B
20 lines
488 B
7 years ago
|
#ifndef ALLOC_H
|
||
|
#define ALLOC_H
|
||
|
|
||
|
struct tree;
|
||
|
struct commit;
|
||
|
struct tag;
|
||
|
|
||
|
void *alloc_blob_node(struct repository *r);
|
||
|
void *alloc_tree_node(struct repository *r);
|
||
|
void *alloc_commit_node(struct repository *r);
|
||
|
void *alloc_tag_node(struct repository *r);
|
||
|
void *alloc_object_node(struct repository *r);
|
||
|
void alloc_report(struct repository *r);
|
||
|
unsigned int alloc_commit_index(struct repository *r);
|
||
|
|
||
|
void *allocate_alloc_state(void);
|
||
|
void clear_alloc_state(struct alloc_state *s);
|
||
|
|
||
|
#endif
|