[cairo-commit] cairo ChangeLog,1.713,1.714
Carl Worth
commit at pdx.freedesktop.org
Tue Jul 12 14:43:39 PDT 2005
Committed by: cworth
Update of /cvs/cairo/cairo
In directory gabe:/tmp/cvs-serv5929
Modified Files:
ChangeLog
Log Message:
* src/cairo-hash-private.h:
* src/cairo-hash.c:
(_cairo_hash_table_create): Remove destroy notifier. This
simplifies the implementation a bit, and no anticipated use of
cairo_hash_table_t in cairo needs the destroy notifier. Most uses
will be hash-backed object create/destroy functions.
(_cairo_hash_table_destroy): Document that it is now a fatal
error to call _cairo_hash_table_destroy on a non-empty hash table.
(_cairo_hash_table_insert): Document that it is now a fatal
error to insert an entry with a key that matches an existing
entry.
(_cairo_hash_table_random_entry): Add predicate function so that
the user can select a random entry satisying the given predicate.
(_cairo_hash_table_remove): Change return type to void since
failure is really not possible here.
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.713
retrieving revision 1.714
diff -u -d -r1.713 -r1.714
--- ChangeLog 11 Jul 2005 23:24:19 -0000 1.713
+++ ChangeLog 12 Jul 2005 21:43:37 -0000 1.714
@@ -1,3 +1,25 @@
+2005-07-12 Carl Worth <cworth at cworth.org>
+
+ * src/cairo-hash-private.h:
+ * src/cairo-hash.c:
+ (_cairo_hash_table_create): Remove destroy notifier. This
+ simplifies the implementation a bit, and no anticipated use of
+ cairo_hash_table_t in cairo needs the destroy notifier. Most uses
+ will be hash-backed object create/destroy functions.
+
+ (_cairo_hash_table_destroy): Document that it is now a fatal
+ error to call _cairo_hash_table_destroy on a non-empty hash table.
+
+ (_cairo_hash_table_insert): Document that it is now a fatal
+ error to insert an entry with a key that matches an existing
+ entry.
+
+ (_cairo_hash_table_random_entry): Add predicate function so that
+ the user can select a random entry satisying the given predicate.
+
+ (_cairo_hash_table_remove): Change return type to void since
+ failure is really not possible here.
+
2005-07-11 Carl Worth <cworth at cworth.org>
* ROADMAP: Add cache lock deadlock problem to roadmap for 0.5.2.
More information about the cairo-commit
mailing list