[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to get Lua functions address?
- From: "jose_marin2 <jose_marin2@...>" <jose_marin2@...>
- Date: Fri, 10 Jan 2003 16:13:32 -0000
Sorry, but I don´t understand!
All I need is to store a reference/point to a lua function
and call it when I need!
For example
In setkey.lua
function handleKey(key)
.
.
.
end
-- My C function
SetKeyFunction(handleKey)
In setkey.c, I must store the address of handleKey, and
call it when the user press a key...
The answer is: How SetFunctionKey gets the reference/address
of handleKey???
Thanks for any tip!