diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-01-26 14:30:02 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-01-26 14:30:02 -0200 |
| commit | c4ea0c3b29252bcafeadf2f69532bdb67ab20bb9 (patch) | |
| tree | 06ed5143f5724be72981ad6303d24c7f09e1cb46 /lbaselib.c | |
| parent | 7106c491dddbfc7b9986c3c91214acd56b066d7f (diff) | |
| download | lua-c4ea0c3b29252bcafeadf2f69532bdb67ab20bb9.tar.gz lua-c4ea0c3b29252bcafeadf2f69532bdb67ab20bb9.tar.bz2 lua-c4ea0c3b29252bcafeadf2f69532bdb67ab20bb9.zip | |
detail (cleaning trailing spaces)
Diffstat (limited to 'lbaselib.c')
| -rw-r--r-- | lbaselib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lbaselib.c,v 1.257 2010/12/27 18:00:38 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.258 2011/01/07 12:41:48 roberto Exp roberto $ |
| 3 | ** Basic library | 3 | ** Basic library |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -135,7 +135,7 @@ static int luaB_rawequal (lua_State *L) { | |||
| 135 | 135 | ||
| 136 | static int luaB_rawlen (lua_State *L) { | 136 | static int luaB_rawlen (lua_State *L) { |
| 137 | int t = lua_type(L, 1); | 137 | int t = lua_type(L, 1); |
| 138 | luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, | 138 | luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, |
| 139 | "table or string expected"); | 139 | "table or string expected"); |
| 140 | lua_pushinteger(L, lua_rawlen(L, 1)); | 140 | lua_pushinteger(L, lua_rawlen(L, 1)); |
| 141 | return 1; | 141 | return 1; |
