lua-users home
lua-l archive

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

On 1/8/08, Norman Ramsey <> wrote:
> The only way I can think of to do this is to use a weak table
> in which both keys and values are weak and the light userdata is the key,
> the heavy userdata is the value.  Is this the correct approach?
> Are there other possible approaches?

i guess it should be weak keys and strong values