mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-08 03:01:52 -04:00
Add pw_properties_move(dst, dst_key, src, src_key, fallback_value) which can move a key-value pair from one property list into another, optionally using the fallback value as value if `src_key` cannot be found in `src`. Add tests as well. This commit also adds `pw_properties_rename()`, which can be used to change the key in a dictionary, but that is not made part of the public API yet. |
||
|---|---|---|
| .. | ||
| meson.build | ||
| pwtest-compat.c | ||
| pwtest-implementation.h | ||
| pwtest.c | ||
| pwtest.h | ||
| test-array.c | ||
| test-context.c | ||
| test-example.c | ||
| test-lib.c | ||
| test-logger.c | ||
| test-properties.c | ||
| test-pwtest.c | ||
| test-spa-buffer.c | ||
| test-spa-json.c | ||
| test-spa-node.c | ||
| test-spa-pod.c | ||
| test-spa-utils.c | ||
| test-support.c | ||