aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-05-01 15:18:06 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-05-01 15:18:06 -0300
commitc549d4fe64c48ab645740e6d12c69c91250fad3d (patch)
tree1f98183ee7518f107d5902916468d99d7fce9527 /lua.h
parentddff6ecf305e6da4f275b473ef6b66811848a3c6 (diff)
downloadlua-c549d4fe64c48ab645740e6d12c69c91250fad3d.tar.gz
lua-c549d4fe64c48ab645740e6d12c69c91250fad3d.tar.bz2
lua-c549d4fe64c48ab645740e6d12c69c91250fad3d.zip
'lua_strtonum' (and 'luaO_str2num') now return string size, instead of
receiving it
Diffstat (limited to '')
-rw-r--r--lua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index 76413a2d..7705421e 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.301 2014/03/12 20:57:40 roberto Exp roberto $ 2** $Id: lua.h,v 1.302 2014/03/20 19:42:35 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
@@ -311,7 +311,7 @@ LUA_API int (lua_next) (lua_State *L, int idx);
311LUA_API void (lua_concat) (lua_State *L, int n); 311LUA_API void (lua_concat) (lua_State *L, int n);
312LUA_API void (lua_len) (lua_State *L, int idx); 312LUA_API void (lua_len) (lua_State *L, int idx);
313 313
314LUA_API int (lua_strtonum) (lua_State *L, const char *s, size_t len); 314LUA_API size_t (lua_strtonum) (lua_State *L, const char *s);
315 315
316LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); 316LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud);
317LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud); 317LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud);