[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Conversion Lua function to C function
- From: Jiří Prymus <jiri.prymus@...>
- Date: Sat, 17 Oct 2009 10:47:17 +0200
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