Add generic circular buffer

Add a circular buffer implementation, to factorize multiple specific
queues implementation.
This commit is contained in:
Romain Vimont 2019-05-29 20:53:21 +02:00
commit b38292cd69
3 changed files with 126 additions and 0 deletions

View file

@ -154,6 +154,9 @@ executable('scrcpy', src,
### TESTS
tests = [
['test_cbuf', [
'tests/test_cbuf.c',
]],
['test_control_event_queue', [
'tests/test_control_event_queue.c',
'src/control_event.c'