diff options
author | daurnimator <quae@daurnimator.com> | 2018-02-04 19:01:15 -0800 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-02-04 19:37:10 -0800 |
commit | 6cbf92d30fe7eb24fa5e2a93bfe432c081a7e51f (patch) | |
tree | 101e64f356d4709691d02ad37b9e752219adb765 | |
parent | 27a5d2539335615d4596e7934663f103d28bc1c8 (diff) | |
download | fengari-6cbf92d30fe7eb24fa5e2a93bfe432c081a7e51f.tar.gz fengari-6cbf92d30fe7eb24fa5e2a93bfe432c081a7e51f.tar.bz2 fengari-6cbf92d30fe7eb24fa5e2a93bfe432c081a7e51f.zip |
README.md: Document extra arg of luaL_execresult and luaL_fileresult
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -71,6 +71,8 @@ In the browser `require` and `package.loadlib` try to find a file by making sync ### _Differences_ from C API - `lua_tointegerx` and `lua_tonumberx` do not have out-parameters indicating conversion success. Instead, ``false`` is returned when conversion fails. +- `luaL_execresult` takes an extra argument: an error object. The error object should have a fields `status`, `signal` and `errno`. +- `luaL_fileresult` takes an extra argument: an error object. The error object should have a field `errno`. ## Extensions |