aboutsummaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2014-02-28 17:29:17 +0100
committerJunio C Hamano <gitster@pobox.com>2014-02-28 13:18:09 -0800
commit33bef7ea256e620c579aeff0e672b0becc79c75c (patch)
treed7a503ef1bb11cfc52ec27cceea08f9584e83667 /object.h
parent1f91e79cf61eaa7cb26eb0aa1e257b7681c4c328 (diff)
downloadgit-33bef7ea256e620c579aeff0e672b0becc79c75c.tar.gz
git-33bef7ea256e620c579aeff0e672b0becc79c75c.tar.xz
Document some functions defined in object.c
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Acked-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.h')
-rw-r--r--object.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/object.h b/object.h
index dc5df8ce1..732bf4d7e 100644
--- a/object.h
+++ b/object.h
@@ -42,7 +42,14 @@ struct object {
extern const char *typename(unsigned int type);
extern int type_from_string(const char *str);
+/*
+ * Return the current number of buckets in the object hashmap.
+ */
extern unsigned int get_max_object_index(void);
+
+/*
+ * Return the object from the specified bucket in the object hashmap.
+ */
extern struct object *get_indexed_object(unsigned int);
/*