lua-users home
lua-l archive

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

I'd been thinking of doing the same thing. One argument for doing it in C is
that it makes it possible to have this work even with protected metatables.

One could also avoid patching luabaselib.c directly by arranging to run code
to redefine the library entries after the standard initialization had run.