Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Put parens around L macro parameter as well. | Philipp Janda | 2017-08-27 | 1 | -33/+33 |
| | | | | | Lua only reserves the right to evaluate L multiples times after all, *not* that L won't contain commas. | ||||
* | Provide fixed luaL_tolstring for Lua 5.2 as well. | Philipp Janda | 2017-08-27 | 1 | -3/+3 |
| | |||||
* | Add parens around macro arguments. | Philipp Janda | 2017-08-27 | 1 | -34/+34 |
| | | | | Fixes #22. | ||||
* | Handle lua_pushlstring edge case for Lua 5.2 too. | Philipp Janda | 2017-08-27 | 1 | -0/+3 |
| | |||||
* | Handle edge case for lua_pushlstring(). Add test. | Philipp Janda | 2017-08-27 | 1 | -1/+1 |
| | |||||
* | Add lua_pushlstring (return value) | daurnimator | 2017-08-26 | 1 | -0/+3 |
| | |||||
* | Have lua_pushstring return the pushed string | daurnimator | 2017-08-26 | 1 | -0/+3 |
| | | | | Fixes #21 | ||||
* | Fix compilation issues with recent LuaJIT 2.1. | Philipp Janda | 2017-08-07 | 1 | -24/+39 |
| | | | | | | | | Protect macros with `#ifndef`. Use "compat53" prefix instead of "lua" prefix for the mode where static versions of the C API functions are created. Fixes #19. | ||||
* | Fix lua_len and luaL_len to use lua_Integer. | Philipp Janda | 2016-07-08 | 1 | -1/+1 |
| | |||||
* | luaL_checkstack accepts NULL message.v0.3 | Philipp Janda | 2015-09-13 | 1 | -0/+3 |
| | |||||
* | Fix macro for lua_stringtonumber. | Philipp Janda | 2015-09-07 | 1 | -1/+1 |
| | |||||
* | Fix linker problems when compiling as C++. | Philipp Janda | 2015-09-07 | 1 | -0/+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. | ||||
* | luaL_newmetatable sets __name on all Lua versions. | Philipp Janda | 2015-07-11 | 1 | -0/+3 |
| | |||||
* | Add luaL_execresult to C API. | Philipp Janda | 2015-05-20 | 1 | -1/+3 |
| | |||||
* | remove support for luaL_Stream (due to LuaJIT incompatibility) | Philipp Janda | 2015-03-08 | 1 | -13/+0 |
| | |||||
* | make LuaJIT support for luaL_Stream interface possible | Philipp Janda | 2015-02-14 | 1 | -0/+7 |
| | |||||
* | fix typo | Philipp Janda | 2015-01-23 | 1 | -1/+1 |
| | |||||
* | backport Lua 5.2/5.3 buffer API for Lua 5.1 | Philipp Janda | 2015-01-21 | 1 | -4/+51 |
| | |||||
* | luajit already has yieldable (x)pcall, add tests for code from compat52 | Philipp Janda | 2015-01-20 | 1 | -0/+1 |
| | |||||
* | add lua_arith and lua_compare for Lua 5.1 | Philipp Janda | 2015-01-20 | 1 | -2/+16 |
| | |||||
* | add initial implementation of c-api and license | Philipp Janda | 2015-01-13 | 1 | -0/+294 |