lua-users home
lua-l archive

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


On Mon, Jul 7, 2014 at 10:07 PM, Tom N Harris <telliamed@whoopdedo.org> wrote:
> To support calling an arbitrary function, you need to include information
> about the types of the arguments in addition to the name.
> And use it like:
>     execute_lua_function(L, "lua_f3", "iis", 5, 10, "foo");

This is exactly the approach taken by llua:

https://github.com/stevedonovan/llua