[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_xmove between non related lua_State's
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 1 Jul 2008 14:05:47 -0300
> However I've tried it out with unrelated lua_State's and it seems to work
Like you say, it seems to work fine. But when garbage collection kicks in,
you will probably have dangling pointers in the target state. Not good...
Also, if you move a string across states and the string already exists
in the target state, you can see string equality failing.