diff options
author | daurnimator <quae@daurnimator.com> | 2018-02-17 11:12:26 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-02-17 11:17:54 +1100 |
commit | 123dfc7ca0cea702a552bc24614e66b4144cca07 (patch) | |
tree | cb8d0b2afd0fb734cddf65ad1d7fae10b338d718 /README.md | |
parent | aa6a466bea35db093a0131dce0612a4de428306c (diff) | |
download | fengari-123dfc7ca0cea702a552bc24614e66b4144cca07.tar.gz fengari-123dfc7ca0cea702a552bc24614e66b4144cca07.tar.bz2 fengari-123dfc7ca0cea702a552bc24614e66b4144cca07.zip |
Rename cpath to jspath
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -68,13 +68,14 @@ In the browser `require` and `package.loadlib` try to find a file by making sync - [Weak tables](http://www.lua.org/manual/5.3/manual.html#2.5.2) -### _Differences_ from C API +### _Differences_ +- `package.jspath` instead of `package.cpath` +- `LUA_JSPATH_DEFAULT` instead of `LUA_CPATH_DEFAULT` (and contains .js extensions rather than .so or .dll extensions) - `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 ### `dv = lua_todataview(L, idx)` |