diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-07-11 15:48:02 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-07-11 15:48:02 -0300 |
commit | c2f065f405ac7cc27bcfcc9b2b44ac53b666efde (patch) | |
tree | 9292353624589f3fd53b7fcdca2f8719ccdfb132 /ltablib.c | |
parent | b261cd110f542680797bec8ca974b2116b414f0a (diff) | |
download | lua-c2f065f405ac7cc27bcfcc9b2b44ac53b666efde.tar.gz lua-c2f065f405ac7cc27bcfcc9b2b44ac53b666efde.tar.bz2 lua-c2f065f405ac7cc27bcfcc9b2b44ac53b666efde.zip |
detail
Diffstat (limited to 'ltablib.c')
-rw-r--r-- | ltablib.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltablib.c,v 1.30 2005/05/16 21:19:00 roberto Exp roberto $ | 2 | ** $Id: ltablib.c,v 1.31 2005/05/17 19:49:15 roberto Exp roberto $ |
3 | ** Library for Table Manipulation | 3 | ** Library for Table Manipulation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -109,7 +109,7 @@ static int tremove (lua_State *L) { | |||
109 | } | 109 | } |
110 | 110 | ||
111 | 111 | ||
112 | static int str_concat (lua_State *L) { | 112 | static int tconcat (lua_State *L) { |
113 | luaL_Buffer b; | 113 | luaL_Buffer b; |
114 | size_t lsep; | 114 | size_t lsep; |
115 | const char *sep = luaL_optlstring(L, 2, "", &lsep); | 115 | const char *sep = luaL_optlstring(L, 2, "", &lsep); |
@@ -237,7 +237,7 @@ static int sort (lua_State *L) { | |||
237 | 237 | ||
238 | 238 | ||
239 | static const luaL_reg tab_funcs[] = { | 239 | static const luaL_reg tab_funcs[] = { |
240 | {"concat", str_concat}, | 240 | {"concat", tconcat}, |
241 | {"foreach", foreach}, | 241 | {"foreach", foreach}, |
242 | {"foreachi", foreachi}, | 242 | {"foreachi", foreachi}, |
243 | {"getn", getn}, | 243 | {"getn", getn}, |