lua-users home
lua-l archive

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


On Sun, Apr 4, 2010 at 4:28 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> and the lua wrapper like this.
>>
>>     -- in lext.lua
>>     module(..., package.seeall)
>>     local f = assert(package.loadlib("./lext.so", "luaopen_lext"))
>>     return f()
>
> There is no need for this wrapper. Just do require'lext'.
>

hmm, yep it works without that. thanks steve and luiz.