Log

util-src/ringbuffer.c @ 13269:d50bee584969

description author age
util: Add compat for prosody module name change to C sources Kim Alvefur 21 months ago
util-src: Remove Lua 5.1 compat macros Kim Alvefur 2022-07-01
util.ringbuffer: Ensure unsigned chars are always returned from :byte() Matthew Wild 2020-06-24
util-src: Use the luaL_pushfail API added in Lua 5.4 to highlight all failure conditions Kim Alvefur 2020-06-07
util.ringbuffer: Add :sub() and :byte() methods equivalent to the string methods Matthew Wild 2020-06-04
util.ringbuffer: Prevent creation of buffer with negative size Kim Alvefur 2020-06-04
util.ringbuffer: Prevent creation of zero-size buffer Kim Alvefur 2020-05-29
util.*.c: Add static qualifiers everywhere Emmanuel Gil Peyrot 2019-12-01
util.ringbuffer: Fix typo in comment [codespell] Kim Alvefur 2018-04-06
util.ringbuffer: Add method for discarding buffered data without returning it to lua Kim Alvefur 2018-02-24
util.ringbuffer: Add various comments Kim Alvefur 2018-02-24
util-src: Specify size of various tables to be allocated Kim Alvefur 2017-03-09
util.ringbuffer: Change types of length related variables to size_t [-Wsign-compare] Kim Alvefur 2017-03-02
util-src/*.c: Attach pointer * to name instead of type Kim Alvefur 2017-02-12
util.ringbuffer: Remove address of buffer itself from __tostring since is now in the same struct Kim Alvefur 2017-02-12
util-src/*.c: Squeeze repeated blank lines Kim Alvefur 2017-01-23
util.ringbuffer: Allocate buffer itself as part of userdata (simpler, single allocation, no need for __gc) Kim Alvefur 2017-01-22
util.ringbuffer: Remove unused macros Kim Alvefur 2017-01-22
util-src: Make C modules assert that the Lua runtime matches what it was compiled for Kim Alvefur 2017-01-08
Add util.ringbuffer, a ringbuffer with a file handle like interface Kim Alvefur 2016-02-02