summaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2005-09-05 06:04:18 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-09-11 01:27:40 (GMT)
commit680bab3d9a33029be38590681832ae9b6d74ad60 (patch)
tree8ca1ff411337a7abafb5c00f43250effe06b73cb /object.h
parent77675e2aff434cb1f0e62540ae42f5716a5a778d (diff)
downloadgit-680bab3d9a33029be38590681832ae9b6d74ad60.zip
git-680bab3d9a33029be38590681832ae9b6d74ad60.tar.gz
git-680bab3d9a33029be38590681832ae9b6d74ad60.tar.bz2
[PATCH] Add function to append to an object_list.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'object.h')
-rw-r--r--object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/object.h b/object.h
index 5af530d..bf74449 100644
--- a/object.h
+++ b/object.h
@@ -41,6 +41,9 @@ void mark_reachable(struct object *obj, unsigned int mask);
struct object_list *object_list_insert(struct object *item,
struct object_list **list_p);
+void object_list_append(struct object *item,
+ struct object_list **list_p);
+
unsigned object_list_length(struct object_list *list);
int object_list_contains(struct object_list *list, struct object *obj);