diff options
author | madmaxoft <github@xoft.cz> | 2013-10-23 12:09:11 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-23 12:09:11 +0200 |
commit | b8a27932286a4626b1b202a7f521d609073c1ea9 (patch) | |
tree | 4169dcaa68ff742d78dc110d9dd8ac8ae6f7df21 /source/Bindings.cpp | |
parent | Fixed cDropSpenserEntity bindings generating an extra var. (diff) | |
download | cuberite-b8a27932286a4626b1b202a7f521d609073c1ea9.tar cuberite-b8a27932286a4626b1b202a7f521d609073c1ea9.tar.gz cuberite-b8a27932286a4626b1b202a7f521d609073c1ea9.tar.bz2 cuberite-b8a27932286a4626b1b202a7f521d609073c1ea9.tar.lz cuberite-b8a27932286a4626b1b202a7f521d609073c1ea9.tar.xz cuberite-b8a27932286a4626b1b202a7f521d609073c1ea9.tar.zst cuberite-b8a27932286a4626b1b202a7f521d609073c1ea9.zip |
Diffstat (limited to 'source/Bindings.cpp')
-rw-r--r-- | source/Bindings.cpp | 46 |
1 files changed, 1 insertions, 45 deletions
diff --git a/source/Bindings.cpp b/source/Bindings.cpp index 87ea32e19..7b689caec 100644 --- a/source/Bindings.cpp +++ b/source/Bindings.cpp @@ -1,6 +1,6 @@ /* ** Lua binding: AllToLua -** Generated automatically by tolua++-1.0.92 on 10/23/13 11:13:15. +** Generated automatically by tolua++-1.0.92 on 10/23/13 12:07:27. */ #ifndef __cplusplus @@ -18924,49 +18924,6 @@ static int tolua_AllToLua_cHopperEntity_new00_local(lua_State* tolua_S) } #endif //#ifndef TOLUA_DISABLE -/* method: GetOutputBlockPos of class cHopperEntity */ -#ifndef TOLUA_DISABLE_tolua_AllToLua_cHopperEntity_GetOutputBlockPos00 -static int tolua_AllToLua_cHopperEntity_GetOutputBlockPos00(lua_State* tolua_S) -{ -#ifndef TOLUA_RELEASE - tolua_Error tolua_err; - if ( - !tolua_isusertype(tolua_S,1,"cHopperEntity",0,&tolua_err) || - !tolua_isnumber(tolua_S,2,0,&tolua_err) || - !tolua_isnumber(tolua_S,3,0,&tolua_err) || - !tolua_isnumber(tolua_S,4,0,&tolua_err) || - !tolua_isnumber(tolua_S,5,0,&tolua_err) || - !tolua_isnoobj(tolua_S,6,&tolua_err) - ) - goto tolua_lerror; - else -#endif - { - cHopperEntity* self = (cHopperEntity*) tolua_tousertype(tolua_S,1,0); - unsigned char a_BlockMeta = (( unsigned char) tolua_tonumber(tolua_S,2,0)); - int a_OutputX = ((int) tolua_tonumber(tolua_S,3,0)); - int a_OutputY = ((int) tolua_tonumber(tolua_S,4,0)); - int a_OutputZ = ((int) tolua_tonumber(tolua_S,5,0)); -#ifndef TOLUA_RELEASE - if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetOutputBlockPos'", NULL); -#endif - { - bool tolua_ret = (bool) self->GetOutputBlockPos(a_BlockMeta,a_OutputX,a_OutputY,a_OutputZ); - tolua_pushboolean(tolua_S,(bool)tolua_ret); - tolua_pushnumber(tolua_S,(lua_Number)a_OutputX); - tolua_pushnumber(tolua_S,(lua_Number)a_OutputY); - tolua_pushnumber(tolua_S,(lua_Number)a_OutputZ); - } - } - return 4; -#ifndef TOLUA_RELEASE - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'GetOutputBlockPos'.",&tolua_err); - return 0; -#endif -} -#endif //#ifndef TOLUA_DISABLE - /* get function: Name of class HTTPFormData */ #ifndef TOLUA_DISABLE_tolua_get_HTTPFormData_Name static int tolua_get_HTTPFormData_Name(lua_State* tolua_S) @@ -31034,7 +30991,6 @@ TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S) tolua_function(tolua_S,"new",tolua_AllToLua_cHopperEntity_new00); tolua_function(tolua_S,"new_local",tolua_AllToLua_cHopperEntity_new00_local); tolua_function(tolua_S,".call",tolua_AllToLua_cHopperEntity_new00_local); - tolua_function(tolua_S,"GetOutputBlockPos",tolua_AllToLua_cHopperEntity_GetOutputBlockPos00); tolua_endmodule(tolua_S); tolua_cclass(tolua_S,"HTTPFormData","HTTPFormData","",NULL); tolua_beginmodule(tolua_S,"HTTPFormData"); |