[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [Proposal] Load module symbols from main program
- From: Xavier Wang <weasley.wx@...>
- Date: Tue, 22 Mar 2016 11:13:32 +0800
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
But it's great to see the opinion of Lua teams :)
--
regards,
Xavier Wang.