lua-users home
lua-l archive

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

Maual says: << Environments associated with userdata have no meaning for Lua. It is only a convenience feature for programmers to associate a table to a userdata. >>

Would it be possible to have Udata->env of type GCObject *?
It seems quite a waste to allocate table just to attach, say, one string to a userdata.