'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
This commit is contained in:
6
lvm.c
6
lvm.c
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lvm.c,v 2.100 2009/10/28 12:20:07 roberto Exp roberto $
|
||||
** $Id: lvm.c,v 2.101 2009/11/25 15:27:51 roberto Exp roberto $
|
||||
** Lua virtual machine
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -307,7 +307,7 @@ void luaV_concat (lua_State *L, int total) {
|
||||
}
|
||||
|
||||
|
||||
static void objlen (lua_State *L, StkId ra, const TValue *rb) {
|
||||
void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) {
|
||||
const TValue *tm;
|
||||
switch (ttype(rb)) {
|
||||
case LUA_TTABLE: {
|
||||
@@ -582,7 +582,7 @@ void luaV_execute (lua_State *L) {
|
||||
continue;
|
||||
}
|
||||
case OP_LEN: {
|
||||
Protect(objlen(L, ra, RB(i)));
|
||||
Protect(luaV_objlen(L, ra, RB(i)));
|
||||
continue;
|
||||
}
|
||||
case OP_CONCAT: {
|
||||
|
||||
Reference in New Issue
Block a user