diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-07-05 11:29:51 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-07-05 11:29:51 -0300 |
commit | 5519c986550677e616e8c22b659e55986a539dd1 (patch) | |
tree | 7b13927e4c2eefab849e9fd487b896350f05576e /lua.h | |
parent | cbe164191c6c3510e225a43c935c6cc3e2da2cd4 (diff) | |
download | lua-5519c986550677e616e8c22b659e55986a539dd1.tar.gz lua-5519c986550677e616e8c22b659e55986a539dd1.tar.bz2 lua-5519c986550677e616e8c22b659e55986a539dd1.zip |
'lua_cvtonum' -> 'lua_strtonum'; converts only strings to numbers
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.290 2013/06/07 14:51:10 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.291 2013/06/07 19:01:50 roberto Exp roberto $ |
3 | ** Lua - A Scripting Language | 3 | ** Lua - A Scripting Language |
4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) | 4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) |
5 | ** See Copyright Notice at the end of this file | 5 | ** See Copyright Notice at the end of this file |
@@ -307,7 +307,7 @@ LUA_API int (lua_next) (lua_State *L, int idx); | |||
307 | LUA_API void (lua_concat) (lua_State *L, int n); | 307 | LUA_API void (lua_concat) (lua_State *L, int n); |
308 | LUA_API void (lua_len) (lua_State *L, int idx); | 308 | LUA_API void (lua_len) (lua_State *L, int idx); |
309 | 309 | ||
310 | LUA_API int (lua_cvtonum) (lua_State *L, int idx); | 310 | LUA_API int (lua_strtonum) (lua_State *L, const char *s, size_t len); |
311 | 311 | ||
312 | LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); | 312 | LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); |
313 | LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud); | 313 | LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud); |