[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua c-extension questions
- From: Brent Pedersen <bpederse@...>
- Date: Sun, 4 Apr 2010 07:10:26 -0700
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.