mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
beeb9b4335
* Moved PAIR to toxav, where it's used (but really this should die). * Replace most MIN calls with typed `min_*` calls. Didn't replace the ones where the desired semantics are unclear. Moved the MIN macro to the one place where it's still used. * Avoid assignments in `while` loops. Instead, factored out the loop body into a separate `bool`-returning function. * Use named types for callbacks (`_cb` types). * Avoid assignments in `if` conditions. * Removed `MAKE_REALLOC` and expanded its two calls. We can't have templates in C, and this fake templating is ugly and hard to analyse and debug (it expands on a single line). * Moved epoll system include to the .c file, out of the .h file. * Avoid assignments in expressions (`a = b = c;`). * Avoid multiple declarators per struct member declaration. * Fix naming inconsistencies. * Replace `net_to_host` macro with function. |
||
---|---|---|
.. | ||
audio.c | ||
audio.h | ||
BUILD.bazel | ||
bwcontroller.c | ||
bwcontroller.h | ||
groupav.c | ||
groupav.h | ||
Makefile.inc | ||
msi.c | ||
msi.h | ||
pair.h | ||
ring_buffer_test.cc | ||
ring_buffer.c | ||
ring_buffer.h | ||
rtp_test.cc | ||
rtp.c | ||
rtp.h | ||
toxav_old.c | ||
toxav.api.h | ||
toxav.c | ||
toxav.h | ||
video.c | ||
video.h |