summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-27 10:03:43 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-27 10:03:43 +0200
commit1c1e3795d05e297b702cbe9fc0e9af688e6f49e7 (patch)
treec7bd0941278aba9282e428081f3972fd9fdd5138
parent6bfb255401a1e459c99fde10bbf8e1d90647ff2f (diff)
downloadfengari-1c1e3795d05e297b702cbe9fc0e9af688e6f49e7.tar.gz
fengari-1c1e3795d05e297b702cbe9fc0e9af688e6f49e7.tar.bz2
fengari-1c1e3795d05e297b702cbe9fc0e9af688e6f49e7.zip
Fixed bad lua_tocfunction export
-rw-r--r--src/lua.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua.js b/src/lua.js
index 94eff3d..c921982 100644
--- a/src/lua.js
+++ b/src/lua.js
@@ -213,4 +213,4 @@ module.exports.lua_version = lapi.lua_version;
module.exports.lua_xmove = lapi.lua_xmove;
module.exports.lua_yield = ldo.lua_yield;
module.exports.lua_yieldk = ldo.lua_yieldk;
-module.exports.lua_tocfunctoin = ldo.lua_tocfunctoin;
+module.exports.lua_tocfunction = lapi.lua_tocfunction;