interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / alloc.h

20 lines · 493 bytes Raw Blame History
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 commit *c);
13void *alloc_commit_node(struct repository *r);
14void *alloc_tag_node(struct repository *r);
15void *alloc_object_node(struct repository *r);
16
17struct alloc_state *alloc_state_alloc(void);
18void alloc_state_free_and_null(struct alloc_state **s_);
19
20#endif