Re: Forwarding function calls from Lua->C->...
[
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: 2001年1月18日 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