Log

util-src/ringbuffer.c @ 11772:e2155e2703dd

description author age
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
util-src/*.c: Squeeze repeated blank lines Kim Alvefur Mon, 23 Jan 2017 18:33:35 +0100
util.ringbuffer: Allocate buffer itself as part of userdata (simpler, single allocation, no need for __gc) Kim Alvefur Sun, 22 Jan 2017 09:23:10 +0100
util.ringbuffer: Remove unused macros Kim Alvefur Sun, 22 Jan 2017 04:05:41 +0100
util-src: Make C modules assert that the Lua runtime matches what it was compiled for Kim Alvefur Sun, 08 Jan 2017 14:21:08 +0100
Add util.ringbuffer, a ringbuffer with a file handle like interface Kim Alvefur Tue, 02 Feb 2016 20:24:27 +0100