diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-04-16 14:08:28 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-04-16 14:08:28 -0300 |
commit | c11d374c592d10b8ed649ffe501191039ee18757 (patch) | |
tree | 52a3b434d6197ae36c7f132b370c9807251effe0 /lua.h | |
parent | 13230c451ba2feaef1c92c391451ee6471b15bb7 (diff) | |
download | lua-c11d374c592d10b8ed649ffe501191039ee18757.tar.gz lua-c11d374c592d10b8ed649ffe501191039ee18757.tar.bz2 lua-c11d374c592d10b8ed649ffe501191039ee18757.zip |
`panic' function configurable via API
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.125 2002/03/27 15:30:41 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.126 2002/04/05 18:54:31 roberto Exp roberto $ |
3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil | 4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil |
5 | ** e-mail: info@lua.org | 5 | ** e-mail: info@lua.org |
@@ -100,6 +100,8 @@ LUA_API void lua_close (lua_State *L); | |||
100 | LUA_API lua_State *lua_newthread (lua_State *L); | 100 | LUA_API lua_State *lua_newthread (lua_State *L); |
101 | LUA_API void lua_closethread (lua_State *L, lua_State *thread); | 101 | LUA_API void lua_closethread (lua_State *L, lua_State *thread); |
102 | 102 | ||
103 | LUA_API lua_CFunction lua_setpanicf (lua_State *L, lua_CFunction panicf); | ||
104 | |||
103 | 105 | ||
104 | /* | 106 | /* |
105 | ** basic stack manipulation | 107 | ** basic stack manipulation |