From 2d2d45976ce41de04e9007c8a78a8ba244d1fdc5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 22 Nov 2002 15:16:52 -0200 Subject: separated control over C recursion level --- lstate.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 507de477..770c16ca 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.104 2002/11/21 15:16:04 roberto Exp roberto $ +** $Id: lstate.h,v 1.105 2002/11/21 15:46:44 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -138,7 +138,8 @@ struct lua_State { int stacksize; CallInfo *end_ci; /* points after end of ci array*/ CallInfo *base_ci; /* array of CallInfo's */ - int size_ci; /* size of array `base_ci' */ + unsigned short size_ci; /* size of array `base_ci' */ + unsigned short nCcalls; /* number of nested C calls */ lu_byte hookmask; lu_byte allowhook; lu_byte hookinit; -- cgit v1.2.3-55-g6feb