[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: block-scope finalization
- From: Javier Guerra Giraldez <javier@...>
- Date: Tue, 24 Nov 2015 11:58:55 -0500
On Tue, Nov 24, 2015 at 11:52 AM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> 1 - if its value is a function, that function is called (no parameters)
i like that option!
of course, when cleaning up is releasing a "resource", then it's
reasonable to call a (library defined) metamethod, but also allowing a
function to be called makes it so much nicer as an end user tool.
--
Javier
- References:
- Re: block-scope finalization, Viacheslav Usov
- Re: block-scope finalization, Philipp Janda
- Re: block-scope finalization, Viacheslav Usov
- Re: block-scope finalization, Philipp Janda
- Re: block-scope finalization, Philipp Janda
- Re: block-scope finalization, Viacheslav Usov
- Re: block-scope finalization, Coda Highland
- Re: block-scope finalization, Javier Guerra Giraldez
- Re: block-scope finalization, Coda Highland
- Re: block-scope finalization, Patrick Donnelly
- Re: block-scope finalization, Roberto Ierusalimschy