From 1aa4f69b51a92dc4f5c9d35925b9977d35650679 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 17 Jul 2014 10:53:37 -0300 Subject: new type 'lua_Ctx' for continuation-function contexts (to allow type to be configurable) --- lstate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 47dddcec..8b7031f8 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.106 2014/06/10 19:18:50 roberto Exp roberto $ +** $Id: lstate.h,v 2.107 2014/06/12 19:07:30 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -71,7 +71,7 @@ typedef struct CallInfo { struct { /* only for C functions */ lua_KFunction k; /* continuation in case of yields */ ptrdiff_t old_errfunc; - int ctx; /* context info. in case of yields */ + lua_Ctx ctx; /* context info. in case of yields */ } c; } u; } CallInfo; -- cgit v1.2.3-55-g6feb