diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-10-07 17:45:19 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-10-07 17:45:19 -0300 |
commit | 217e67cb224cbb9bd68a1bce7454b60d50894f79 (patch) | |
tree | dfe4ec94dbbc36707699f6e01cbeff62d8871041 /ldo.h | |
parent | 9bbfe9f3fde5225bfa441f9d26b84544cc6c9b6d (diff) | |
download | lua-217e67cb224cbb9bd68a1bce7454b60d50894f79.tar.gz lua-217e67cb224cbb9bd68a1bce7454b60d50894f79.tar.bz2 lua-217e67cb224cbb9bd68a1bce7454b60d50894f79.zip |
new type 'l_noret' for function that do not return
Diffstat (limited to 'ldo.h')
-rw-r--r-- | ldo.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.h,v 2.17 2009/11/25 15:27:51 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.18 2009/12/17 12:28:57 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -38,7 +38,7 @@ LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize); | |||
38 | LUAI_FUNC void luaD_growstack (lua_State *L, int n); | 38 | LUAI_FUNC void luaD_growstack (lua_State *L, int n); |
39 | LUAI_FUNC void luaD_shrinkstack (lua_State *L); | 39 | LUAI_FUNC void luaD_shrinkstack (lua_State *L); |
40 | 40 | ||
41 | LUAI_FUNC void luaD_throw (lua_State *L, int errcode); | 41 | LUAI_FUNC l_noret luaD_throw (lua_State *L, int errcode); |
42 | LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud); | 42 | LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud); |
43 | 43 | ||
44 | #endif | 44 | #endif |