From ffaee8f1a04b5c3616f27118b426ce727294868c Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 9 Feb 2006 16:59:55 +0000 Subject: Adding thread creation/destruction hooks. --- lib/lua/includes/lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/lua/includes') diff --git a/lib/lua/includes/lstate.h b/lib/lua/includes/lstate.h index 8df9844..bd5c1d9 100644 --- a/lib/lua/includes/lstate.h +++ b/lib/lua/includes/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.6 2004-12-27 22:18:53 pixel Exp $ +** $Id: lstate.h,v 1.7 2006-02-09 16:59:55 pixel Exp $ ** Global State ** See Copyright Notice in lua.h */ @@ -158,6 +158,7 @@ struct lua_State { struct lua_longjmp *errorJmp; /* current error recover point */ ptrdiff_t errfunc; /* current error handling function (stack index) */ lua_CallWrap callwrap; + lua_ThreadHook createhook, destroyhook; }; -- cgit v1.2.3