diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-15 11:27:40 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-15 11:27:40 -0300 |
commit | 89602bf7476c6ecf04cc0e0125b9664dc15ebb08 (patch) | |
tree | 1daf1062ad89a23286dca8278b323f54fddcff17 /lapi.c | |
parent | 56d45378796b881b638671655164a16bb8ad8a57 (diff) | |
download | lua-89602bf7476c6ecf04cc0e0125b9664dc15ebb08.tar.gz lua-89602bf7476c6ecf04cc0e0125b9664dc15ebb08.tar.bz2 lua-89602bf7476c6ecf04cc0e0125b9664dc15ebb08.zip |
'lua_strtonum' -> 'lua_stringtonum'
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.235 2014/08/27 14:59:33 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.236 2014/10/07 18:29:13 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_strtonum (lua_State *L, const char *s) { | 335 | LUA_API size_t lua_stringtonum (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); |