diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-06-10 14:41:38 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-06-10 14:41:38 -0300 |
commit | 6f6fd96e3bd2cc1f61291717aee9d89ea0180cd4 (patch) | |
tree | 77247f6bb46460afa33749cedfc841f22089f785 /lstate.h | |
parent | 35a6aad0d745d3acb9d5feb895f84a05ae8bf5ba (diff) | |
download | lua-6f6fd96e3bd2cc1f61291717aee9d89ea0180cd4.tar.gz lua-6f6fd96e3bd2cc1f61291717aee9d89ea0180cd4.tar.bz2 lua-6f6fd96e3bd2cc1f61291717aee9d89ea0180cd4.zip |
new type lua_KFunction + no more 'lua_getctx'
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 2.102 2014/02/18 13:46:26 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.103 2014/05/15 20:41:27 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -69,7 +69,7 @@ typedef struct CallInfo { | |||
69 | const Instruction *savedpc; | 69 | const Instruction *savedpc; |
70 | } l; | 70 | } l; |
71 | struct { /* only for C functions */ | 71 | struct { /* only for C functions */ |
72 | lua_CFunction k; /* continuation in case of yields */ | 72 | lua_KFunction k; /* continuation in case of yields */ |
73 | ptrdiff_t old_errfunc; | 73 | ptrdiff_t old_errfunc; |
74 | int ctx; /* context info. in case of yields */ | 74 | int ctx; /* context info. in case of yields */ |
75 | lu_byte old_allowhook; | 75 | lu_byte old_allowhook; |