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.
scrcpy/app/tests
Romain Vimont c070723bc8 Add sc_vector
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]: 0857947aba/include/vlc_vector.h
[2]: https://blog.rom1v.com/2019/05/a-new-core-playlist-for-vlc-4
[3]: https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html
3 years ago
..
test_adb_parser.c Remove fprintf() in tests 3 years ago
test_buffer_util.c Rename buffer util functions with sc_ prefix 3 years ago
test_cbuf.c Define feature test macros in common.h 4 years ago
test_cli.c Rename SC_MOD_* to SC_SHORTCUT_MOD_* 3 years ago
test_clock.c Add clock tests 3 years ago
test_control_msg_serialize.c Use sc_ prefix for control_msg enums 3 years ago
test_device_msg_deserialize.c Add device clipboard set acknowledgement 3 years ago
test_queue.c Rename queue to sc_queue 3 years ago
test_str.c Remove confusing sc_str_truncate() 3 years ago
test_strbuf.c Add missing includes 3 years ago
test_vector.c Add sc_vector 3 years ago