aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/table.c
Commit message (Collapse)AuthorAgeFilesLines
* util.table: Fix inaccurate commentKim Alvefur2022-07-111-1/+1
| | | | | | | Probably a duplicate of the comment next to Lmove, recorded by mistake Lpack can probably be removed at some point in the near future once we are confident it is not used anywhere.
* util-src: Remove Lua 5.1 compat macrosKim Alvefur2022-07-011-7/+1
| | | | Part of #1600
* util.table: Compatibility with Lua 5.1 lua_equalsMatthew Wild2022-03-181-1/+5
|
* util.table: Backport table.move() from Lua 5.4Matthew Wild2022-03-181-0/+42
| | | | | One difference is that 5.4 accepts "table-like" values (for this and other table.*() functions), but that would require additional backporting work.
* util-src: Specify size of various tables to be allocatedKim Alvefur2017-03-091-1/+1
|
* Backed out changeset a3a4ed0d34f4 C99 is okKim Alvefur2017-03-021-2/+1
|
* util-src/*.c: Attach pointer * to name instead of typeKim Alvefur2017-02-121-3/+5
|
* util-src/*.c: Squeeze repeated blank linesKim Alvefur2017-01-231-1/+0
|
* util-src: Make C modules assert that the Lua runtime matches what it was ↵Kim Alvefur2017-01-081-0/+3
| | | | compiled for
* util.table: Move loop variable to top of function for C89 compatibilityKim Alvefur2016-08-071-1/+2
|
* util.table: Add pack() function (this is already available in Lua 5.2+)Matthew Wild2016-07-271-0/+15
|
* util-src/*.c: astyle --indent=tab --brackets=attach --indent-switches ↵Kim Alvefur2015-04-031-1/+1
| | | | --break-blocks --pad-oper --unpad-paren --add-brackets --align-pointer=type --lineend=linux
* util.table, Makefile: New C module that allows pre-allocation of tables to ↵Matthew Wild2015-03-311-0/+14
improve performance and decrease memory fragmentation