lua-users home
lua-l archive

Re: Is it possible to store lua function in a C struct?

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


On 8 May 2012, at 09:02, Tezduyar Lindskog, Umut wrote:
Check out luaL_ref along with the registry. You will be able to get an integer key for your function and store the key in the struct.
Kev

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