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 /ldebug.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 'ldebug.h')
| -rw-r--r-- | ldebug.h | 20 |
1 files changed, 10 insertions, 10 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldebug.h,v 2.5 2009/06/10 16:57:53 roberto Exp roberto $ | 2 | ** $Id: ldebug.h,v 2.6 2011/06/02 19:31:40 roberto Exp roberto $ |
| 3 | ** Auxiliary functions from Debug Interface module | 3 | ** Auxiliary functions from Debug Interface module |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -21,14 +21,14 @@ | |||
| 21 | #define ci_func(ci) (clLvalue((ci)->func)) | 21 | #define ci_func(ci) (clLvalue((ci)->func)) |
| 22 | 22 | ||
| 23 | 23 | ||
| 24 | LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o, | 24 | LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o, |
| 25 | const char *opname); | 25 | const char *opname); |
| 26 | LUAI_FUNC void luaG_concaterror (lua_State *L, StkId p1, StkId p2); | 26 | LUAI_FUNC l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2); |
| 27 | LUAI_FUNC void luaG_aritherror (lua_State *L, const TValue *p1, | 27 | LUAI_FUNC l_noret luaG_aritherror (lua_State *L, const TValue *p1, |
| 28 | const TValue *p2); | 28 | const TValue *p2); |
| 29 | LUAI_FUNC int luaG_ordererror (lua_State *L, const TValue *p1, | 29 | LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1, |
| 30 | const TValue *p2); | 30 | const TValue *p2); |
| 31 | LUAI_FUNC void luaG_runerror (lua_State *L, const char *fmt, ...); | 31 | LUAI_FUNC l_noret luaG_runerror (lua_State *L, const char *fmt, ...); |
| 32 | LUAI_FUNC void luaG_errormsg (lua_State *L); | 32 | LUAI_FUNC l_noret luaG_errormsg (lua_State *L); |
| 33 | 33 | ||
| 34 | #endif | 34 | #endif |
