pipewire/spa/include
Pauli Virtanen f45d89b75b spa: json: propagate parse error in spa_json_container_len
Successful return is always >= 2 since it includes {} or [], so use 0 to
indicate error.

Since there's existing code that doesn't check the return value, it's
better to use 0 for errors as it'll likely to just lead to producing an
empty string if the value is not checked.
2024-03-25 20:49:25 +02:00
..
spa spa: json: propagate parse error in spa_json_container_len 2024-03-25 20:49:25 +02:00
meson.build spa: expose utils/cleanup.h for external users 2023-10-11 19:56:11 +02:00