aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/ringbuffer.c
Commit message (Expand)AuthorAgeFilesLines
* util: Add compat for prosody module name change to C sourcesKim Alvefur2023-03-171-1/+5
* util-src: Remove Lua 5.1 compat macrosKim Alvefur2022-07-011-2/+0
* util.ringbuffer: Ensure unsigned chars are always returned from :byte()Matthew Wild2020-06-241-3/+3
* util-src: Use the luaL_pushfail API added in Lua 5.4 to highlight all failure...Kim Alvefur2020-06-071-2/+6
* util.ringbuffer: Add :sub() and :byte() methods equivalent to the string methodsMatthew Wild2020-06-041-1/+102
* util.ringbuffer: Prevent creation of buffer with negative sizeKim Alvefur2020-06-041-1/+1
* util.ringbuffer: Prevent creation of zero-size bufferKim Alvefur2020-05-291-0/+1
* 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 it...Kim Alvefur2018-02-241-0/+23
* 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 [-Wsign-c...Kim Alvefur2017-03-021-2/+2
* 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 now...Kim Alvefur2017-02-121-1/+1
* 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
* util.ringbuffer: Remove unused macrosKim Alvefur2017-01-221-3/+0
* util-src: Make C modules assert that the Lua runtime matches what it was comp...Kim Alvefur2017-01-081-0/+3
* Add util.ringbuffer, a ringbuffer with a file handle like interfaceKim Alvefur2016-02-021-0/+232