Kovid Goyal
be34af4555
Remove inline from .c files
...
It is ignored by compilers and hides unused static functions
2021-08-03 09:11:17 +05:30
Kovid Goyal
e428858ad6
Micro-optimization
2020-12-12 17:43:33 +05:30
Kovid Goyal
3e73f860d1
Fix assert in ringbuf_memcpy_from
2020-12-11 21:38:58 +05:30
Kovid Goyal
4cf5bd8d70
Turn on the asserts in ringbuf for debug builds
2020-12-11 21:26:15 +05:30
Kovid Goyal
bffe0f4a6c
Use a separate, re-useable ring-buffer implementation
...
Not only is it re-useable it also allows for easier debugging by
separating the ring buffer specific logic and the pager history logic.
Hopefully it fixes #3049
2020-12-11 21:17:38 +05:30