[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua C Functions in C++ class
- From: Tim Conkling <tconkling@...>
- Date: Tue, 21 Oct 2003 18:51:39 -0400
One more quick question -- do I need to do anything with upvalues
before returning from the function call, or are they automatically
popped off the stack by Lua?
On Oct 21, 2003, at 5:50 PM, Tim Conkling wrote:
Thanks a lot to everyone who replied. Userdata upvalues are exactly
what I need.
On Oct 21, 2003, at 2:57 PM, Luiz Henrique de Figueiredo wrote:
there's no way to associate any sort of user data with the exported
Sure there is. You export C closures, not C functions, in fact. So C
can have upvalues.