aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-07-05 11:29:51 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-07-05 11:29:51 -0300
commit5519c986550677e616e8c22b659e55986a539dd1 (patch)
tree7b13927e4c2eefab849e9fd487b896350f05576e /lua.h
parentcbe164191c6c3510e225a43c935c6cc3e2da2cd4 (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index 8e5531ff..ef623831 100644
--- a/lua.h
+++ b/lua.h
@@ -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);
307LUA_API void (lua_concat) (lua_State *L, int n); 307LUA_API void (lua_concat) (lua_State *L, int n);
308LUA_API void (lua_len) (lua_State *L, int idx); 308LUA_API void (lua_len) (lua_State *L, int idx);
309 309
310LUA_API int (lua_cvtonum) (lua_State *L, int idx); 310LUA_API int (lua_strtonum) (lua_State *L, const char *s, size_t len);
311 311
312LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); 312LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud);
313LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud); 313LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud);