equal
deleted
inserted
replaced
148 begin |
148 begin |
149 LuaError('Lua: Wrong number of parameters passed to div!'); |
149 LuaError('Lua: Wrong number of parameters passed to div!'); |
150 lua_pushnil(L); |
150 lua_pushnil(L); |
151 end |
151 end |
152 else |
152 else |
153 lua_pushinteger(L, lua_tointeger(L, 2) div lua_tointeger(L, 1)); |
153 lua_pushinteger(L, lua_tointeger(L, 1) div lua_tointeger(L, 2)); |
154 lc_div := 1; |
154 lc_div := 1; |
155 end; |
155 end; |
156 |
156 |
157 function lc_getinputmask(L : Plua_State) : LongInt; Cdecl; |
157 function lc_getinputmask(L : Plua_State) : LongInt; Cdecl; |
158 begin |
158 begin |