diff options
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) { |