[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.3 Suggestion: extend lua_(get|set)uservalue() to associate userdata-to-userdata
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 2 Dec 2013 08:51:10 -0200
You may also use the *same* table for all your userdata objects and index
it with the userdata each time. You'll probably need to use a weak table
to avoid freezing garbage.