lua-users home
lua-l archive

Object lifetimes inside Lua (3.1)

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


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.

AltStyle によって変換されたページ (->オリジナル) /