diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 19 insertions, 9 deletions
@@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/keplerproject/lua-compat-5.3.svg?branch=master)](https://travis-ci.org/keplerproject/lua-compat-5.3) + # lua-compat-5.3 Lua-5.3-style APIs for Lua 5.2 and 5.1. @@ -133,6 +135,7 @@ For Lua 5.1 additionally: * `lua_isinteger` * `lua_numbertointeger` * `lua_callk` and `lua_pcallk` (limited compatibility, see [here][14]) +* `lua_resume` * `lua_rawget` and `lua_rawgeti` (return values) * `lua_rawgetp` and `lua_rawsetp` * `luaL_requiref` (now checks `package.loaded` first) @@ -141,12 +144,16 @@ For Lua 5.1 additionally: For Lua 5.1 additionally: * `LUA_OK` +* `LUA_ERRGCMM` * `LUA_OP*` macros for `lua_arith` and `lua_compare` +* `LUA_FILEHANDLE` * `lua_Unsigned` +* `luaL_Stream` (limited compatibility, see [here][19]) * `lua_absindex` -* `lua_arith` (see [here][19]) +* `lua_arith` (see [here][20]) * `lua_compare` * `lua_len`, `lua_rawlen`, and `luaL_len` +* `lua_load` (mode argument) * `lua_pushstring`, `lua_pushlstring` (return value) * `lua_copy` * `lua_pushglobaltable` @@ -157,11 +164,13 @@ For Lua 5.1 additionally: * `luaL_traceback` * `luaL_execresult` * `luaL_fileresult` +* `luaL_loadbufferx` +* `luaL_loadfilex` * `luaL_checkversion` (with empty body, only to avoid compile errors, - see [here][20]) + see [here][21]) * `luaL_tolstring` * `luaL_buffinitsize`, `luaL_prepbuffsize`, and `luaL_pushresultsize` - (see [here][21]) + (see [here][22]) * `lua_pushunsigned`, `lua_tounsignedx`, `lua_tounsigned`, `luaL_checkunsigned`, `luaL_optunsigned`, if `LUA_COMPAT_APIINTCASTS` is defined. @@ -184,8 +193,6 @@ For Lua 5.1 additionally: * `lua_upvaluejoin` (5.1) * `lua_version` (5.1) * `lua_yieldk` (5.1) - * `luaL_loadbufferx` (5.1) - * `luaL_loadfilex` (5.1) ## See also @@ -202,6 +209,8 @@ This package contains code written by: * Tomás Guisasola Gorham ([@tomasguisasola](http://github.com/tomasguisasola)) * Hisham Muhammad ([@hishamhm](http://github.com/hishamhm)) * Renato Maia ([@renatomaia](http://github.com/renatomaia)) +* [@ThePhD](http://github.com/ThePhD) +* [@Daurnimator](http://github.com/Daurnimator) [1]: http://www.inf.puc-rio.br/~roberto/struct/ @@ -222,8 +231,9 @@ This package contains code written by: [16]: https://github.com/keplerproject/lua-compat-5.3/wiki/lua_getuservalue [17]: https://github.com/keplerproject/lua-compat-5.3/wiki/lua_setuservalue [18]: https://github.com/keplerproject/lua-compat-5.3/wiki/lua_stringtonumber - [19]: https://github.com/keplerproject/lua-compat-5.3/wiki/lua_arith - [20]: https://github.com/keplerproject/lua-compat-5.3/wiki/luaL_checkversion - [21]: https://github.com/keplerproject/lua-compat-5.3/wiki/luaL_Buffer - [22]: https://github.com/keplerproject/lua-compat-5.3/wiki/coroutine.running + [19]: https://github.com/keplerproject/lua-compat-5.3/wiki/luaL_Stream + [20]: https://github.com/keplerproject/lua-compat-5.3/wiki/lua_arith + [21]: https://github.com/keplerproject/lua-compat-5.3/wiki/luaL_checkversion + [22]: https://github.com/keplerproject/lua-compat-5.3/wiki/luaL_Buffer + [23]: https://github.com/keplerproject/lua-compat-5.3/wiki/coroutine.running |