diff options
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 2.100 2009/10/28 12:20:07 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 2.101 2009/11/25 15:27:51 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -307,7 +307,7 @@ void luaV_concat (lua_State *L, int total) { | |||
307 | } | 307 | } |
308 | 308 | ||
309 | 309 | ||
310 | static void objlen (lua_State *L, StkId ra, const TValue *rb) { | 310 | void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) { |
311 | const TValue *tm; | 311 | const TValue *tm; |
312 | switch (ttype(rb)) { | 312 | switch (ttype(rb)) { |
313 | case LUA_TTABLE: { | 313 | case LUA_TTABLE: { |
@@ -582,7 +582,7 @@ void luaV_execute (lua_State *L) { | |||
582 | continue; | 582 | continue; |
583 | } | 583 | } |
584 | case OP_LEN: { | 584 | case OP_LEN: { |
585 | Protect(objlen(L, ra, RB(i))); | 585 | Protect(luaV_objlen(L, ra, RB(i))); |
586 | continue; | 586 | continue; |
587 | } | 587 | } |
588 | case OP_CONCAT: { | 588 | case OP_CONCAT: { |