lua-users home
lua-l archive

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


Hi,

> I think special care would need to be taken for
> functions who already have their own global table. This is tedious,
> and involves a lot of table traversing, but it should work.

C functions can't have their globals changed.  This includes all the
functions from the baselib, not to mention the auxiliary libs...  So you
should make sure not to copy functions over that provide backdoors (like
require, dofile, ...)

Bye,
Wim