aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua.h b/lua.h
index cdfc88ce..ee70ec7d 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.309 2014/07/17 13:53:37 roberto Exp roberto $ 2** $Id: lua.h,v 1.310 2014/07/22 18:07:47 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
@@ -332,6 +332,8 @@ LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud);
332** =============================================================== 332** ===============================================================
333*/ 333*/
334 334
335#define lua_getextraspace(L) ((void *)((char *)(L) - LUA_EXTRASPACE))
336
335#define lua_tonumber(L,i) lua_tonumberx(L,(i),NULL) 337#define lua_tonumber(L,i) lua_tonumberx(L,(i),NULL)
336#define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL) 338#define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL)
337 339