lua-users home
lua-l archive

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


On 9 July 2015 at 12:12, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> Use
>         debug.setmetatable(nil, {__index = {}})
>
> See http://lua-users.org/lists/lua-l/2010-05/msg00159.html
>

Just remember to set it back afterwards!