aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2018-02-04 19:01:15 -0800
committerdaurnimator <quae@daurnimator.com>2018-02-04 19:37:10 -0800
commit6cbf92d30fe7eb24fa5e2a93bfe432c081a7e51f (patch)
tree101e64f356d4709691d02ad37b9e752219adb765 /README.md
parent27a5d2539335615d4596e7934663f103d28bc1c8 (diff)
downloadfengari-6cbf92d30fe7eb24fa5e2a93bfe432c081a7e51f.tar.gz
fengari-6cbf92d30fe7eb24fa5e2a93bfe432c081a7e51f.tar.bz2
fengari-6cbf92d30fe7eb24fa5e2a93bfe432c081a7e51f.zip
README.md: Document extra arg of luaL_execresult and luaL_fileresult
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 458269a..959b4f8 100644
--- a/README.md
+++ b/README.md
@@ -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