Hi,

On Mon, Sep 09, 2002 at 06:32:52PM +0900, ts wrote:
> >>>>> "M" == Michal Rokos <m.rokos / sh.cvut.cz> writes:
> 
> M> PS: I know that we can use rb_ensure, but it looks like overkill to me.
> 
>   rb_when_raised_free(proc, data, arg);
>  is the same than
>   rb_ensure(proc, data, free, arg);

	Not really.

	rb_ensure does the 2nd function allways, and you don't want to
	do it when no EXC is raised. (So: this one frees arg only if
	EXC is raised.)

	That's the only difference.

		Michal

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michal Rokos                         Czech Technical University, Prague
E-mail:m.rokos / sh.cvut.cz      ICQ:36118339      Jabber:majkl / jabber.cz
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-