aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/strbitop.c
Commit message (Collapse)AuthorAgeFilesLines
* Back out changeset 2c1583bb0e0fKim Alvefur2020-10-151-0/+4
| | | | Same reason as 712b2e6a09d9
* Back out 6dde2c9fa272: Doesn't work on Lua 5.1Kim Alvefur2020-10-151-13/+6
|
* util.strbitop: Remove redundant init functionKim Alvefur2020-10-151-4/+0
| | | | | When you have 3 almost identical functions, you tend to edit one and then copypaste. Forgot to remove this line from the other two.
* util.strbitop: Create buffer in the correct size (optimization)Kim Alvefur2020-10-151-6/+13
| | | | | This avoids dynamically growing the buffer as Lua does when luaL_addchar is used, thus saving on realloc calls.
* util.strbitop: Reformat codeKim Alvefur2020-10-151-9/+9
| | | | | | | | | | | | | | astyle \ --indent=tab \ --attach-classes \ --indent-switches \ --break-blocks \ --pad-oper \ --unpad-paren \ --add-braces \ --align-pointer=name \ --lineend=linux \ *.c
* util.strbitop: Library for bitwise operations on stringsKim Alvefur2019-09-071-0/+91