'lua_stringtonum' -> 'lua_stringtonumber'

This commit is contained in:
Roberto Ierusalimschy
2014-10-17 16:17:55 -03:00
parent f97c64d7bf
commit 0d31efb365
4 changed files with 10 additions and 10 deletions

4
lapi.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: lapi.c,v 2.236 2014/10/07 18:29:13 roberto Exp roberto $
** $Id: lapi.c,v 2.237 2014/10/15 14:27:40 roberto Exp roberto $
** Lua API
** See Copyright Notice in lua.h
*/
@@ -332,7 +332,7 @@ LUA_API int lua_compare (lua_State *L, int index1, int index2, int op) {
}
LUA_API size_t lua_stringtonum (lua_State *L, const char *s) {
LUA_API size_t lua_stringtonumber (lua_State *L, const char *s) {
size_t sz = luaO_str2num(s, L->top);
if (sz != 0)
api_incr_top(L);