lua-users home
lua-l archive

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


Roberto Ierusalimschy <roberto@inf.puc-rio.br> writes:
> PiL2 says this:
>
>   From the user point of view, a module is a library that can be loaded
>   through require and that defines one single global name containing
>   a table. Everything that the module exports, such as functions and
>   constants, it defines inside this table, which works as a namespace.
>   A well-behaved module also arranges for require to return this table.
>
> Also, the 'module' function follows this behavior.

Thanks Roberto!  I think that's sufficient to report a bug against swig
... :-)

-Miles

-- 
Friendless, adj. Having no favors to bestow. Destitute of fortune. Addicted to
utterance of truth and common sense.