diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-17 16:17:55 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-17 16:17:55 -0300 |
commit | 0d31efb365e93cd983d63519f83b46c8898b92c4 (patch) | |
tree | c86f9333fea6339342937bb3a4f296626a9f91c8 /lapi.c | |
parent | f97c64d7bf4c0f373711795d8faba0e8cd206761 (diff) | |
download | lua-0d31efb365e93cd983d63519f83b46c8898b92c4.tar.gz lua-0d31efb365e93cd983d63519f83b46c8898b92c4.tar.bz2 lua-0d31efb365e93cd983d63519f83b46c8898b92c4.zip |
'lua_stringtonum' -> 'lua_stringtonumber'
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.236 2014/10/07 18:29:13 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.237 2014/10/15 14:27:40 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -332,7 +332,7 @@ LUA_API int lua_compare (lua_State *L, int index1, int index2, int op) { | |||
332 | } | 332 | } |
333 | 333 | ||
334 | 334 | ||
335 | LUA_API size_t lua_stringtonum (lua_State *L, const char *s) { | 335 | LUA_API size_t lua_stringtonumber (lua_State *L, const char *s) { |
336 | size_t sz = luaO_str2num(s, L->top); | 336 | size_t sz = luaO_str2num(s, L->top); |
337 | if (sz != 0) | 337 | if (sz != 0) |
338 | api_incr_top(L); | 338 | api_incr_top(L); |