mirror of https://github.com/Genymobile/scrcpy
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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]:
|
3 years ago | |
---|---|---|
.. | ||
test_adb_parser.c | 3 years ago | |
test_buffer_util.c | 3 years ago | |
test_cbuf.c | 4 years ago | |
test_cli.c | 3 years ago | |
test_clock.c | 3 years ago | |
test_control_msg_serialize.c | 3 years ago | |
test_device_msg_deserialize.c | 3 years ago | |
test_queue.c | 3 years ago | |
test_str.c | 3 years ago | |
test_strbuf.c | 3 years ago | |
test_vector.c | 3 years ago |