diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-06-15 16:51:31 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-06-15 16:51:31 -0300 |
commit | a21c89ddc8b91c9fd4888577f7a6c60c4f640795 (patch) | |
tree | 393aa5c8213338b9b72d220bab87c3bdbae20f4f /lua.h | |
parent | 49b88b1c39fca21f1f55e462e0f549b8187f89d6 (diff) | |
download | lua-a21c89ddc8b91c9fd4888577f7a6c60c4f640795.tar.gz lua-a21c89ddc8b91c9fd4888577f7a6c60c4f640795.tar.bz2 lua-a21c89ddc8b91c9fd4888577f7a6c60c4f640795.zip |
new API function 'lua_mainthread'
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); | |||
113 | LUA_API void (lua_close) (lua_State *L); | 113 | LUA_API void (lua_close) (lua_State *L); |
114 | LUA_API lua_State *(lua_newthread) (lua_State *L); | 114 | LUA_API lua_State *(lua_newthread) (lua_State *L); |
115 | 115 | ||
116 | LUA_API lua_State *(lua_mainthread) (lua_State *L); | ||
117 | |||
116 | LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); | 118 | LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); |
117 | 119 | ||
118 | 120 | ||