From 6f6fd96e3bd2cc1f61291717aee9d89ea0180cd4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 10 Jun 2014 14:41:38 -0300 Subject: new type lua_KFunction + no more 'lua_getctx' --- lstate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index fd21fb9f..67b43c29 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.102 2014/02/18 13:46:26 roberto Exp roberto $ +** $Id: lstate.h,v 2.103 2014/05/15 20:41:27 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -69,7 +69,7 @@ typedef struct CallInfo { const Instruction *savedpc; } l; struct { /* only for C functions */ - lua_CFunction k; /* continuation in case of yields */ + lua_KFunction k; /* continuation in case of yields */ ptrdiff_t old_errfunc; int ctx; /* context info. in case of yields */ lu_byte old_allowhook; -- cgit v1.2.3-55-g6feb