aboutsummaryrefslogtreecommitdiff
path: root/ltablib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-07-11 15:48:02 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-07-11 15:48:02 -0300
commitc2f065f405ac7cc27bcfcc9b2b44ac53b666efde (patch)
tree9292353624589f3fd53b7fcdca2f8719ccdfb132 /ltablib.c
parentb261cd110f542680797bec8ca974b2116b414f0a (diff)
downloadlua-c2f065f405ac7cc27bcfcc9b2b44ac53b666efde.tar.gz
lua-c2f065f405ac7cc27bcfcc9b2b44ac53b666efde.tar.bz2
lua-c2f065f405ac7cc27bcfcc9b2b44ac53b666efde.zip
detail
Diffstat (limited to 'ltablib.c')
-rw-r--r--ltablib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ltablib.c b/ltablib.c
index 804999e2..578c1264 100644
--- a/ltablib.c
+++ b/ltablib.c
@@ -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
112static int str_concat (lua_State *L) { 112static 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
239static const luaL_reg tab_funcs[] = { 239static 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},