From 217e67cb224cbb9bd68a1bce7454b60d50894f79 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 7 Oct 2011 17:45:19 -0300 Subject: new type 'l_noret' for function that do not return --- ldo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldo.h') diff --git a/ldo.h b/ldo.h index dd651040..2ff768db 100644 --- a/ldo.h +++ b/ldo.h @@ -1,5 +1,5 @@ /* -** $Id: ldo.h,v 2.17 2009/11/25 15:27:51 roberto Exp roberto $ +** $Id: ldo.h,v 2.18 2009/12/17 12:28:57 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -38,7 +38,7 @@ LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize); LUAI_FUNC void luaD_growstack (lua_State *L, int n); LUAI_FUNC void luaD_shrinkstack (lua_State *L); -LUAI_FUNC void luaD_throw (lua_State *L, int errcode); +LUAI_FUNC l_noret luaD_throw (lua_State *L, int errcode); LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud); #endif -- cgit v1.2.3-55-g6feb