[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Callback Functions
- From: "W. C. Bubel" <inmatarian@...>
- Date: Fri, 17 Aug 2007 14:19:05 -0400
I have a question about making calls from C into Lua functions. The manual is quite clear on what to do when you know the identifier of the function, however I'm wondering if the function itself (a pointer) can be sent to the C side and somehow stored to be called at a later time.
Specifically, I'm wondering if this syntax is possible, assuming setcallback is a C Function:
setcallback( function() ... end )
Is there a specific provision for this, that I overlooked, or would trick need to be involved?