diff options
author | denis <denisv@post.skynet.lt> | 2017-09-07 03:44:37 +0300 |
---|---|---|
committer | denis <denisv@post.skynet.lt> | 2017-09-07 15:24:00 +0300 |
commit | b482e19917395c842780bd2b8da7731158947c40 (patch) | |
tree | d8951ce0846874d36a22f9e0d7bfbc2b0b5993af /README.md | |
parent | fc3d60b9a7cd7b8e46a9b342ec504d84c927aa08 (diff) | |
download | fengari-b482e19917395c842780bd2b8da7731158947c40.tar.gz fengari-b482e19917395c842780bd2b8da7731158947c40.tar.bz2 fengari-b482e19917395c842780bd2b8da7731158947c40.zip |
src/lapi.js, src/lauxlib.js: lua_tointeger should return 0 when conversion fails for luaL_ref to work
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -40,6 +40,12 @@ In the browser `require` and `package.loadlib` try to find a file by making sync - `os.execute` - [Weak tables](http://www.lua.org/manual/5.3/manual.html#2.5.2) + +### _Differences_ from C API + +- `lua_tointegerx` and `lua_tonumberx` do not have out-parameters indicating conversion success. Instead, ``false`` is returned when conversion fails. + + ## Extensions ### `dv = lua_todataview(L, idx)` |