lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, 2005-01-07 at 14:30, Mike Pall wrote:
> Hi,
> 
> skaller wrote:
> > void luaC_step (lua_State *L) {
> > [...]
> > however a grep on the source reveals this function and
> > indeed luaC_fullgc are never called except in lua_gc.
> 
> No, this is not the problem. You missed the define in lgc.h:
> 
> #define luaC_checkGC(L) { if (G(L)->totalbytes >= G(L)->GCthreshold) \
>   luaC_step(L); }

Ah, you're right thanks.

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net