diff options
author | Gary Kramlich <grim@reaperworld.com> | 2020-05-01 00:10:57 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2020-05-01 00:10:57 -0500 |
commit | 460af54ffd38d55dcd8b04eeff3faffcbe996e41 (patch) | |
tree | 93c40cfb10d7f10a4ea1d8209cd196cd123945ab /libpurple/purplekeyvaluepair.h | |
parent | cf2bc446b4e29877571b75b7ef9d23c2f96361de (diff) | |
download | pidgin-460af54ffd38d55dcd8b04eeff3faffcbe996e41.tar.gz |
Add some unit tests for key value pairs
Diffstat (limited to 'libpurple/purplekeyvaluepair.h')
-rw-r--r-- | libpurple/purplekeyvaluepair.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpurple/purplekeyvaluepair.h b/libpurple/purplekeyvaluepair.h index c922235635..8654933658 100644 --- a/libpurple/purplekeyvaluepair.h +++ b/libpurple/purplekeyvaluepair.h @@ -110,6 +110,9 @@ void purple_key_value_pair_free(PurpleKeyValuePair *kvp); * * Creates a copy of @kvp. * + * If @kvp has a %value_destroy_func, %NULL will be returned as we this + * function has no way to know how to allocate a new copy of the value. + * * Returns: (transfer full): A new copy of @kvp. */ PurpleKeyValuePair *purple_key_value_pair_copy(PurpleKeyValuePair *kvp); |