diff options
author | Not Zed <NotZed@Ximian.com> | 2004-01-29 16:24:16 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-01-29 16:24:16 +0800 |
commit | a96a5b74204b32b147e2cfacfec6c9d9e9ee2bf4 (patch) | |
tree | e66755a8e11a5f6612fe0d4dabe5b7675731f9da /camel/camel-object.c | |
parent | aadeb422d2dca792606159a24de45ce074170e0d (diff) | |
download | gsoc2013-evolution-a96a5b74204b32b147e2cfacfec6c9d9e9ee2bf4.tar.gz gsoc2013-evolution-a96a5b74204b32b147e2cfacfec6c9d9e9ee2bf4.tar.zst gsoc2013-evolution-a96a5b74204b32b147e2cfacfec6c9d9e9ee2bf4.zip |
added a doc comment.
2004-01-29 Not Zed <NotZed@Ximian.com>
* camel-object.c (camel_object_bag_rekey): added a doc comment.
** See bug #53520.
* camel-session.c (get_service): free the url once done, it now
gets copied by the service.
* camel-service.c (construct): copy the url that comes in, don't
just '0Wn34z' it. clena up exception handling too.
svn path=/trunk/; revision=24513
Diffstat (limited to 'camel/camel-object.c')
-rw-r--r-- | camel/camel-object.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/camel/camel-object.c b/camel/camel-object.c index 7ca9e84d8a..682c0e1924 100644 --- a/camel/camel-object.c +++ b/camel/camel-object.c @@ -1897,7 +1897,17 @@ camel_object_bag_abort(CamelObjectBag *bag, const void *key) E_UNLOCK(type_lock); } - +/** + * camel_object_bag_rekey: + * @bag: + * @o: + * @newkey: + * + * Re-key an object, atomically. The key for object @o is set to + * @newkey, in an atomic manner. + * + * It is an api (fatal) error if @o is not currently in the bag. + **/ void camel_object_bag_rekey(CamelObjectBag *bag, void *o, const void *newkey) { |