lua-users home
lua-l archive

Re: Forwarding function calls from Lua->C->...

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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

AltStyle によって変換されたページ (->オリジナル) /