Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2014-02-28 20:29:17 +0400
committerJunio C Hamano <gitster@pobox.com>2014-03-01 01:18:09 +0400
commit33bef7ea256e620c579aeff0e672b0becc79c75c (patch)
treed7a503ef1bb11cfc52ec27cceea08f9584e83667 /object.h
parent1f91e79cf61eaa7cb26eb0aa1e257b7681c4c328 (diff)
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 dc5df8ce1d..732bf4d7e7 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);
/*