[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C - Lua Interfacing and best way to push args
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 8 Jul 2014 08:20:55 +0200
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