aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;