summaryrefslogtreecommitdiffstats
path: root/src/Bindings/gen_LuaState_Call.lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-09-03 23:05:03 +0200
committermadmaxoft <github@xoft.cz>2014-09-03 23:05:03 +0200
commit06c66a08cdbfbbac56d79a175bcc6142d690cc94 (patch)
tree7580c375ee3c431811823ec0a2b834d86c4b8c05 /src/Bindings/gen_LuaState_Call.lua
parentDebuggers: Added a test code for ForEachEntityInBox(). (diff)
downloadcuberite-06c66a08cdbfbbac56d79a175bcc6142d690cc94.tar
cuberite-06c66a08cdbfbbac56d79a175bcc6142d690cc94.tar.gz
cuberite-06c66a08cdbfbbac56d79a175bcc6142d690cc94.tar.bz2
cuberite-06c66a08cdbfbbac56d79a175bcc6142d690cc94.tar.lz
cuberite-06c66a08cdbfbbac56d79a175bcc6142d690cc94.tar.xz
cuberite-06c66a08cdbfbbac56d79a175bcc6142d690cc94.tar.zst
cuberite-06c66a08cdbfbbac56d79a175bcc6142d690cc94.zip
Diffstat (limited to 'src/Bindings/gen_LuaState_Call.lua')
-rw-r--r--src/Bindings/gen_LuaState_Call.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/gen_LuaState_Call.lua b/src/Bindings/gen_LuaState_Call.lua
index 2d8630d12..7f62573c7 100644
--- a/src/Bindings/gen_LuaState_Call.lua
+++ b/src/Bindings/gen_LuaState_Call.lua
@@ -109,7 +109,7 @@ local function WriteOverload(f, a_NumParams, a_NumReturns)
-- Write the function signature:
f:write("bool Call(")
- f:write("FnT a_Function")
+ f:write("const FnT & a_Function")
for i = 1, a_NumParams do
f:write(", ParamT", i, " a_Param", i)
end