[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [Proposal] Load module symbols from main program
- From: Hisham <h@...>
- Date: Sun, 27 Mar 2016 22:30:53 -0300
On 22 March 2016 at 00:13, Xavier Wang <weasley.wx@gmail.com> wrote:
> 2016-03-20 9:24 GMT+08:00 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
>> I'm probably missing something but doesn't package.loadlib do what you want?
>> It'll find any symbol you ask but of course you can only use those that
>> are lua_CFunctions.
>>
>
> I have made a loadable C module to do this, here:
> https://gist.github.com/starwing/c6d2c3a2ec15dfc5da66
Publish it in LuaRocks so it is not lost in the sands of time! :)
-- Hisham