[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Object lifetimes inside Lua (3.1)
- From: Cyril Zorin <cyril.zorin@...>
- Date: Thu, 1 Jun 2006 12:59:56 -0400
Hullo =)
Are there any guarantees made with regard to the validity of pointers
inside Lua code? That is, suppose we look at luaV_execute -- is the
TProtoFunc* guaranteed to be valid after the luaV_execute call
finishes, or are internal pointers (which are derived from
lua_Object's) liable to be garbage collected like everything else?
Thanks,
Cyril.