Kim Alvefur
|
1eb7584483
|
util.ringbuffer: Fix typo in comment [codespell]
|
2018-04-06 22:26:53 +02:00 |
|
Kim Alvefur
|
28ba10b6b4
|
util.ringbuffer: Add method for discarding buffered data without returning it to lua
|
2018-02-24 14:45:06 +01:00 |
|
Kim Alvefur
|
a92cdf75b1
|
util.ringbuffer: Add various comments
|
2018-02-24 14:44:46 +01:00 |
|
Kim Alvefur
|
384687ffa4
|
util-src: Specify size of various tables to be allocated
|
2017-03-09 01:20:59 +01:00 |
|
Kim Alvefur
|
2246bd21b5
|
util.ringbuffer: Change types of length related variables to size_t [-Wsign-compare]
|
2017-03-02 19:22:07 +01:00 |
|
Kim Alvefur
|
40d8e257d8
|
util-src/*.c: Attach pointer * to name instead of type
|
2017-02-12 16:42:29 +01:00 |
|
Kim Alvefur
|
3e41ed8099
|
util.ringbuffer: Remove address of buffer itself from __tostring since is now in the same struct
|
2017-02-12 15:51:32 +01:00 |
|
Kim Alvefur
|
0d28378a7a
|
util-src/*.c: Squeeze repeated blank lines
|
2017-01-23 18:33:35 +01:00 |
|
Kim Alvefur
|
c8e4e17b46
|
util.ringbuffer: Allocate buffer itself as part of userdata (simpler, single allocation, no need for __gc)
|
2017-01-22 09:23:10 +01:00 |
|
Kim Alvefur
|
26d03a9a1a
|
util.ringbuffer: Remove unused macros
|
2017-01-22 04:05:41 +01:00 |
|
Kim Alvefur
|
5b10d245e3
|
util-src: Make C modules assert that the Lua runtime matches what it was compiled for
|
2017-01-08 14:21:08 +01:00 |
|
Kim Alvefur
|
ea0373f3ad
|
Add util.ringbuffer, a ringbuffer with a file handle like interface
|
2016-02-02 20:24:27 +01:00 |
|