aboutsummaryrefslogtreecommitdiff
path: root/ltablib.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-07Fix macro for lua_stringtonumber.Philipp Janda1-1/+1
2015-09-07Fix linker problems when compiling as C++.Philipp Janda2-2/+6
When compiling compat-5.3.c as C++, the Lua symbols may still have C-linkage. Reference those symbols as `extern "C"` by default and add an option for normal (C++) linkage.
2015-09-05Make C API compile as C++.Philipp Janda1-1/+1
2015-08-24Make '*' optional for file:lines() and file:read().Philipp Janda2-242/+317
2015-08-23Make '*' optional for io.read() and io.lines().Philipp Janda2-22/+90
2015-08-18Mention assert() implementation.Philipp Janda1-0/+1
2015-08-18Remove superfluous redefinitions.Philipp Janda1-23/+5
By calling the `compat53.module` version of `coroutine.running` from the `compat53` redefinition, the `main_coroutine` value can be reused and the need for the `coroutine.status` and `coroutine.resume` redefinitions vanishes. Thanks @daurnimator!
2015-08-18assert() can handle non-string errors.Philipp Janda2-2/+27
2015-07-11luaL_newmetatable sets __name on all Lua versions.Philipp Janda2-1/+7
2015-06-02Compress decimal escapes for string.format("%q").Philipp Janda2-4/+4
Lua 5.2+ escape all control characters using decimal escape sequences. The previous code did the same but always used three decimals (possibly zero-padded) no matter the following character. The new version only uses all three decimals when another decimal character is following.
2015-05-20Add luaL_execresult to C API.Philipp Janda5-3/+55