aboutsummaryrefslogtreecommitdiff
path: root/c-api (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-09-24Add braces and suppress warning.strerrorPhilipp Janda1-3/+7
2017-09-23Do less stuff when sz is 0 in compat53_strerror().Philipp Janda1-10/+10
2017-09-23Transparently handle GNU/XSI strerror_r.Philipp Janda1-45/+20
Closes #36.
2017-09-18Add Travis-CI integrationPhilipp Janda4-7/+60
2017-09-16Fix links in the README.md.Philipp Janda1-3/+3
2017-09-16Add tests for `luaL_load{buffer,file}x`.Philipp Janda3-76/+129
Fix bug regarding empty input in `lua_load`. Adapt error message and error code.
2017-09-16Add Lua 5.3 version of `lua_load`.Philipp Janda3-37/+73
Change `luaL_loadfilex` to use the modified `lua_load` function. Add more credits to the README.md.
2017-09-16Include lualib.h, remove #define LUA_FILEHANDLE.Philipp Janda1-8/+5
This avoids warnings about redefinitions when `lualib.h` is included after `compat-5.3.h`. Lua 5.1 only. Also make clear that `COMPAT53_INCLUDE_SOURCE` is an internal macro by undefining it before we use it.
2017-09-13fix usage of tabsThe Phantom Derpstorm1-5/+5
2017-09-13fix `lua_Integer` casts that error on Visual C++ and other pedantic ↵ThePhD1-2/+2
conversion-warning compilers for 64-bit builds
2017-09-13define LUA_ERRGCMM code for return valuesThePhD2-0/+14
2017-09-13update readmeThePhD1-2/+2
2017-09-13implement luaL_loadbufferx and luaL_loadfilexThePhD2-4/+264
2017-09-08Add (partial) luaL_Stream definitiondaurnimator2-6/+17
2017-09-08Add LUA_FILEHANDLE definedaurnimator2-0/+4
2017-09-08Add lua_resumedaurnimator2-0/+4
2017-09-03Use FALLTHROUGH annotation to fix -Wimplicit-fallthrough warningdaurnimator1-1/+1
Using a form that passes -Wimplicit-fallthrough=4. See https://gcc.gnu.org/onlinedocs/gcc-7.1.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough