Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/alloc.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / alloc.h` 20 lines ยท 493 bytes Raw Blame History 1 #ifndef ALLOC_H 2 #define ALLOC_H 3 4 struct alloc_state; 5 struct tree; 6 struct commit; 7 struct tag; 8 struct repository; 9 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); 16 17 struct alloc_state *alloc_state_alloc(void); 18 void alloc_state_free_and_null(struct alloc_state **s_); 19 20 #endif