lua-users home
lua-l archive

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


Hi,

I would like to know if there is any chance to convert lua function to
c function. I program a small opencv wrapper and there is one wrapping
function where I need pointer to function. And that's a problem
because I can get only pointer to Lua function and when I convert it
to C function then it does nothing. I know that lua functions are
stored in tables and that's probably why it  doesn't work.

In fact my problem is function gtk_signal_connect(...) where slot
function is my lua function.

Thanks for answer.

With regards,
Jiri Prymus