Staging
v0.7.0
Revision 77200e9332cc0f6004c80f5e1e09a7b37bf8a3f3 authored by Christopher Diaz Riveros on 15 September 2019, 21:56:56 UTC, committed by Christopher Diaz Riveros on 29 October 2019, 00:21:27 UTC
Signed-off-by: Christopher Diaz Riveros <christopher.diaz.riv@gmail.com>
1 parent 045a548
Raw File
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