diff options
author | Mattes D <github@xoft.cz> | 2016-08-16 14:05:03 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-08-22 20:10:48 +0200 |
commit | 11682d1386299d78bab39f77884797981950edee (patch) | |
tree | 370699cd4ec1ff5905d970005162c8be3aa275dd /src/Bindings/BindingsProcessor.lua | |
parent | cLuaState: Added direct support for pushing a nil constant. (diff) | |
download | cuberite-11682d1386299d78bab39f77884797981950edee.tar cuberite-11682d1386299d78bab39f77884797981950edee.tar.gz cuberite-11682d1386299d78bab39f77884797981950edee.tar.bz2 cuberite-11682d1386299d78bab39f77884797981950edee.tar.lz cuberite-11682d1386299d78bab39f77884797981950edee.tar.xz cuberite-11682d1386299d78bab39f77884797981950edee.tar.zst cuberite-11682d1386299d78bab39f77884797981950edee.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/BindingsProcessor.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Bindings/BindingsProcessor.lua b/src/Bindings/BindingsProcessor.lua index f936d3a68..df479a634 100644 --- a/src/Bindings/BindingsProcessor.lua +++ b/src/Bindings/BindingsProcessor.lua @@ -234,7 +234,6 @@ local function OutputLuaStateHelpers(a_Package) if not(g_HasCustomPushImplementation[item.name]) then f:write("void cLuaState::Push(" .. item.name .. " * a_Value)\n{\n\tASSERT(IsValid());\n") f:write("\ttolua_pushusertype(m_LuaState, a_Value, \"" .. item.name .. "\");\n"); - f:write("\tm_NumCurrentFunctionArgs += 1;\n") f:write("}\n\n\n\n\n\n") end end |