c070723bc8
Adapt vlc_vector [1], that I initially wrote while implementing the VLC
playlist [2].
Change the implementation to use "statement expressions" [3], which are
forbidden in VLC because "non-standard", but:
- they are supported by gcc and clang;
- they are already used in the scrcpy codebase;
- they avoid implementation hacks (VLC_VECTOR_FAILFLAG_);
- they allow a better API (sc_vector_index_of() may return the result
without an output parameter).
PR #3035 <https://github.com/Genymobile/scrcpy/pull/3035>
[1]:
|
||
---|---|---|
.. | ||
test_adb_parser.c | ||
test_buffer_util.c | ||
test_cbuf.c | ||
test_cli.c | ||
test_clock.c | ||
test_control_msg_serialize.c | ||
test_device_msg_deserialize.c | ||
test_queue.c | ||
test_str.c | ||
test_strbuf.c | ||
test_vector.c |