objlist.c

changeset 101
50525dab6c8e
parent 92
55fcdff5bcea
child 111
7d1dccdd7215
--- a/objlist.c	Sat May 14 22:23:20 2005 +0200
+++ b/objlist.c	Sat Jan 07 22:01:54 2006 +0100
@@ -204,7 +204,7 @@
 }
 
 
-void objlist_remove(ObjList **objlist, Obj *obj)
+bool objlist_remove(ObjList **objlist, Obj *obj)
 {
     ObjList *node=objlist_find_node(*objlist, obj);
     
@@ -212,6 +212,8 @@
         free_node(objlist, node);
     
     optimise(objlist);
+    
+    return (node!=NULL);
 }
 
 

mercurial