aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-06-15 16:51:31 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-06-15 16:51:31 -0300
commita21c89ddc8b91c9fd4888577f7a6c60c4f640795 (patch)
tree393aa5c8213338b9b72d220bab87c3bdbae20f4f /lua.h
parent49b88b1c39fca21f1f55e462e0f549b8187f89d6 (diff)
downloadlua-a21c89ddc8b91c9fd4888577f7a6c60c4f640795.tar.gz
lua-a21c89ddc8b91c9fd4888577f7a6c60c4f640795.tar.bz2
lua-a21c89ddc8b91c9fd4888577f7a6c60c4f640795.zip
new API function 'lua_mainthread'
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 2836832b..62205158 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.236 2009/04/17 14:28:06 roberto Exp roberto $ 2** $Id: lua.h,v 1.237 2009/05/21 20:06:11 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension 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
@@ -113,6 +113,8 @@ LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud);
113LUA_API void (lua_close) (lua_State *L); 113LUA_API void (lua_close) (lua_State *L);
114LUA_API lua_State *(lua_newthread) (lua_State *L); 114LUA_API lua_State *(lua_newthread) (lua_State *L);
115 115
116LUA_API lua_State *(lua_mainthread) (lua_State *L);
117
116LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); 118LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf);
117 119
118 120