|
|
||
|
Wim Couwenberg wrote:
Maybe the open_lib can also return the 'path' to the newly opened module?Ah, no. The caller has nothing to do with the namespace ;)
The place a function will be after 'opening' a lib uis fixed by the module
author.
--[[This can be done regardless of course, just put the package table wherever you like. But how can the caller find it again? People can read a manual (at least theoretically ;-) but module management code, as a rule of thumb, can not.]]
-Martin