Method
PurpleKeyValuePaircopy
unstable since: 3.0
Declaration [src]
PurpleKeyValuePair*
purple_key_value_pair_copy (
  PurpleKeyValuePair* kvp
)
      Description [src]
Creates a copy of kvp.
If kvp has a value_destroy_func, NULL will be returned as this function
has no way to know how to allocate a new copy of the value.
Available since: 3.0
Return value
Type: PurpleKeyValuePair
A new copy of kvp.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |