D | lvm.c | 335 void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) { in luaV_objlen() argument 342 setnvalue(ra, cast_num(luaH_getn(h))); /* else primitive len */ in luaV_objlen() 346 setnvalue(ra, cast_num(tsvalue(rb)->len)); in luaV_objlen() 356 callTM(L, tm, rb, rb, ra, 1); in luaV_objlen() 360 void luaV_arith (lua_State *L, StkId ra, const TValue *rb, in luaV_arith() argument 367 setnvalue(ra, res); in luaV_arith() 369 else if (!call_binTM(L, rb, rc, ra, op)) in luaV_arith() 402 StkId ra) { in pushclosure() argument 408 setclLvalue(L, ra, ncl); /* anchor new closure in stack */ in pushclosure() 525 setnvalue(ra, op(L, nb, nc)); \ [all …]
|