lua-users home
lua-l archive

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

On Apr 6, 2005 1:19 PM, Uzytkownik <> wrote:
> Hash: RIPEMD160
> I'd like to call:
> some_function(lua_var1, lua_var2, ..., lua_varn)
> I don't know n - I've only string.
> lua_varx could be var defined in lua (loaded in lua_State*) or for ex.
> "xxx".
> I'd like to get return value, too.
> How I could do it?
> Regards.
> - --

You need to be a bit more decriptive.

Do you mean call lua function from lua or from C? If the former, read this page

If from C, I'm not sure - take a look at the C API section in the same
book. (If you've not done so, its a good idea to read most of the
chapters in parts 1, 2 and 3)

Hope this helps.