[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Forwarding function calls from Lua->C->...
- From: Reuben Thomas <rrt1001@...>
- Date: Thu, 18 Jan 2001 11:00:44 +0000 (GMT)
> Push the name or a pointer to the actual OPL function as an upvalue to the
> fixed C function and register this function in Lua as a C closure.
Yes, I'd forgotten that C functions can have upvalues. Thanks!
--
http://sc3d.org/rrt/ | RSA, n. safety in numbers