Log

util-src/ringbuffer.c @ 13269:d50bee584969

description author age
util: Add compat for prosody module name change to C sources Kim Alvefur Fri, 17 Mar 2023 18:03:07 +0100
util-src: Remove Lua 5.1 compat macros Kim Alvefur Fri, 01 Jul 2022 21:21:21 +0200
util.ringbuffer: Ensure unsigned chars are always returned from :byte() Matthew Wild Wed, 24 Jun 2020 12:34:20 +0100
util-src: Use the luaL_pushfail API added in Lua 5.4 to highlight all failure conditions Kim Alvefur Sun, 07 Jun 2020 02:25:56 +0200
util.ringbuffer: Add :sub() and :byte() methods equivalent to the string methods Matthew Wild Thu, 04 Jun 2020 15:19:20 +0100
util.ringbuffer: Prevent creation of buffer with negative size Kim Alvefur Thu, 04 Jun 2020 16:11:08 +0200
util.ringbuffer: Prevent creation of zero-size buffer Kim Alvefur Fri, 29 May 2020 18:11:42 +0200
util.*.c: Add static qualifiers everywhere Emmanuel Gil Peyrot Sun, 01 Dec 2019 20:25:20 +0100
util.ringbuffer: Fix typo in comment [codespell] Kim Alvefur Fri, 06 Apr 2018 22:26:53 +0200
util.ringbuffer: Add method for discarding buffered data without returning it to lua Kim Alvefur Sat, 24 Feb 2018 14:45:06 +0100
util.ringbuffer: Add various comments Kim Alvefur Sat, 24 Feb 2018 14:44:46 +0100
util-src: Specify size of various tables to be allocated Kim Alvefur Thu, 09 Mar 2017 01:20:59 +0100
util.ringbuffer: Change types of length related variables to size_t [-Wsign-compare] Kim Alvefur Thu, 02 Mar 2017 19:22:07 +0100
util-src/*.c: Attach pointer * to name instead of type Kim Alvefur Sun, 12 Feb 2017 16:42:29 +0100
util.ringbuffer: Remove address of buffer itself from __tostring since is now in the same struct Kim Alvefur Sun, 12 Feb 2017 15:51:32 +0100