diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-17 10:53:37 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-17 10:53:37 -0300 |
commit | 1aa4f69b51a92dc4f5c9d35925b9977d35650679 (patch) | |
tree | d63d6534a52452d1c9f4f0c0e6210f4c0435f769 /lstate.h | |
parent | 8bb272a3e3d0693a1d587cfa3469153978ae617f (diff) | |
download | lua-1aa4f69b51a92dc4f5c9d35925b9977d35650679.tar.gz lua-1aa4f69b51a92dc4f5c9d35925b9977d35650679.tar.bz2 lua-1aa4f69b51a92dc4f5c9d35925b9977d35650679.zip |
new type 'lua_Ctx' for continuation-function contexts (to allow type
to be configurable)
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.106 2014/06/10 19:18:50 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.107 2014/06/12 19:07:30 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 | */ |
@@ -71,7 +71,7 @@ typedef struct CallInfo { | |||
71 | struct { /* only for C functions */ | 71 | struct { /* only for C functions */ |
72 | lua_KFunction 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 | lua_Ctx ctx; /* context info. in case of yields */ |
75 | } c; | 75 | } c; |
76 | } u; | 76 | } u; |
77 | } CallInfo; | 77 | } CallInfo; |