diff options
| author | pixel <pixel> | 2006-02-09 16:59:55 +0000 |
|---|---|---|
| committer | pixel <pixel> | 2006-02-09 16:59:55 +0000 |
| commit | ffaee8f1a04b5c3616f27118b426ce727294868c (patch) | |
| tree | c568807d05a14ed91fd7036a6943dc6054e29626 /lib/lua/includes | |
| parent | 16c41f2f9f1d86d861254ef54becbd2bd728f848 (diff) | |
Adding thread creation/destruction hooks.
Diffstat (limited to 'lib/lua/includes')
| -rw-r--r-- | lib/lua/includes/lstate.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; }; |
