aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/ringbuffer.c
Commit message (Collapse)AuthorAgeFilesLines
* util.*.c: Add static qualifiers everywhereEmmanuel Gil Peyrot2019-12-011-18/+13
|
* util.ringbuffer: Fix typo in comment [codespell]Kim Alvefur2018-04-061-1/+1
|
* util.ringbuffer: Add method for discarding buffered data without returning ↵Kim Alvefur2018-02-241-0/+23
| | | | it to lua
* util.ringbuffer: Add various commentsKim Alvefur2018-02-241-0/+19
|
* util-src: Specify size of various tables to be allocatedKim Alvefur2017-03-091-2/+2
|
* util.ringbuffer: Change types of length related variables to size_t ↵Kim Alvefur2017-03-021-2/+2
| | | | [-Wsign-compare]
* util-src/*.c: Attach pointer * to name instead of typeKim Alvefur2017-02-121-25/+26
|
* util.ringbuffer: Remove address of buffer itself from __tostring since is ↵Kim Alvefur2017-02-121-1/+1
| | | | now in the same struct
* util-src/*.c: Squeeze repeated blank linesKim Alvefur2017-01-231-3/+0
|
* util.ringbuffer: Allocate buffer itself as part of userdata (simpler, single ↵Kim Alvefur2017-01-221-19/+3
| | | | allocation, no need for __gc)
* util.ringbuffer: Remove unused macrosKim Alvefur2017-01-221-3/+0
|
* util-src: Make C modules assert that the Lua runtime matches what it was ↵Kim Alvefur2017-01-081-0/+3
| | | | compiled for
* Add util.ringbuffer, a ringbuffer with a file handle like interfaceKim Alvefur2016-02-021-0/+232