[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Access variables in antother Lua state
- From: Marc Balmer <marc@...>
- Date: Tue, 19 Apr 2011 11:55:26 +0200
Am 19.04.11 11:40, schrieb Patrick Rapin:
>> Is there a way to access objects from one state in another state?
>
> No, it should be impossible without modifying Lua sources.
> By design, each Lua state is hermetic from the others.
> However, by hacking the sources, you may be able to access a direct
> pointer to the value structure, but you certainly don't want to do
> that, do you?
Of course we will use the C API to achieve this goal. I 'dnt even think
about modifying the Lua sources... ;)