[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_xmove between non related lua_State's
- From: Asko Kauppi <askok@...>
- Date: Tue, 1 Jul 2008 21:51:14 +0300
I will be having code that does this right, popping from one stack and
pushing to another. In fact, Lanes sources must already have that code
somewhere; maybe buried into the gluax part, though.
If you're not in a hurry, Lanes 2008 will have it.
Luiz Henrique de Figueiredo kirjoitti 1.7.2008 kello 20:05:
However I've tried it out with unrelated lua_State's and it seems
Like you say, it seems to work fine. But when garbage collection
you will probably have dangling pointers in the target state. Not
Also, if you move a string across states and the string already exists
in the target state, you can see string equality failing.