Staging
v0.5.1
https://github.com/git/git
Revision 367f12b7e92aef4e8a41fe601d90984a2b7a0381 authored by Johannes Schindelin on 04 December 2019, 22:01:50 UTC, committed by Johannes Schindelin on 06 December 2019, 15:31:15 UTC
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 20c71bc
Raw File
Tip revision: 367f12b7e92aef4e8a41fe601d90984a2b7a0381 authored by Johannes Schindelin on 04 December 2019, 22:01:50 UTC
Git 2.21.1
Tip revision: 367f12b
alloc.h
#ifndef ALLOC_H
#define ALLOC_H

struct alloc_state;
struct tree;
struct commit;
struct tag;
struct repository;

void *alloc_blob_node(struct repository *r);
void *alloc_tree_node(struct repository *r);
void init_commit_node(struct repository *r, struct commit *c);
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);

struct alloc_state *allocate_alloc_state(void);
void clear_alloc_state(struct alloc_state *s);

#endif
back to top