lua-users home
lua-l archive

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


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.