diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-12-17 14:20:01 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-12-17 14:20:01 -0200 |
commit | c3a6f3fa1c6360d4ea2e32f9415f51e8e55093b4 (patch) | |
tree | 9f26c632fa0215c21260a81f6fad1a79678f8173 /lvm.c | |
parent | 0bbdddc86b1353fec36ae886b4142986f3c4713f (diff) | |
download | lua-c3a6f3fa1c6360d4ea2e32f9415f51e8e55093b4.tar.gz lua-c3a6f3fa1c6360d4ea2e32f9415f51e8e55093b4.tar.bz2 lua-c3a6f3fa1c6360d4ea2e32f9415f51e8e55093b4.zip |
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
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: { |