lua-users home
lua-l archive

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


On Tuesday 28 February 2006 1:09 am, Asko Kauppi wrote:
> It is safe to use the returned string, simply because the garbage
> collector never runs until you return from your C function back to
> Lua. Thus, you can: get a string, pop it, use the pointer.

so what you're saying is that the garbage collector is never called by any Lua 
API function, but only by the VM itself?  is that guaranteed to be so in 
future implementations?

-- 
Javier

Attachment: pgpZrVLAkMjFe.pgp
Description: PGP signature