[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Re: Integration of C++ objects into Lua
- From: "gradha29oct@... " <gradha29oct@...>
- Date: Thu, 27 Nov 2003 12:31:29 +0100
>> Is there any way I can get rid of all the Lua proxies of a C++
>> object I've deleted?
>The easiest way is to use a double proxy.
Yes, seems to be the only option.
>However, I'm not sure if you are asking the right question.
>Perhaps you would be better off taking advantage of Lua's
>garbage collector and not deleting your C++ object until
>there are no references to it left.
Not possible, since these objects are created before any
Lua state is created, and reversing the order of these operations
is also not possible.