lua-users home
lua-l archive

Re: Locking Table Member Additions

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


On Jun 16, 2014, at 5:50 PM, Sean Conner <sean@conman.org> wrote:
> 
> But a question: why? Adding members should not affect your code, and it
> would allow the programmer to associate additional information.
> 
> Without knowing more about the problem, it seems like constructing the
> table in C is more work than just doing it in Lua.
> 
> -spc
> 
> 
I would guess the OP does not have full control of the Lua script and wishes to limit what it can do.
—Tim

AltStyle によって変換されたページ (->オリジナル) /