lua-users home
lua-l archive

Re: Make "package.loaded" weak

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


2017年02月19日 4:24 GMT+02:00 Martin <eden_martin_fuhrspam@gmx.de>:
> For my usage case this is not a problem, but you guys may have
> serious objections which I'd like to hear.
Couldn't you just do this?
 setmetatable(package.loaded,{__mode="v"})

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