lua-users home
lua-l archive

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


> 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'.