lua-users home
lua-l archive

Re: Return value of finalizers in C

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


> When a finalizer written in C is called for the __gc metamethod, is
> there a need to return any value? Currently my finalizers don't put
> anything on the stack and simply return 0. Is that correct?
Yes.
-- Roberto

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