[#927] UnboundMethod#to_proc — Dave Thomas <dave@...>
I'm wondering what I can do with a Proc generated by
17 messages
2003/04/06
[#929] Re: UnboundMethod#to_proc
— "Chris Pine" <nemo@...>
2003/04/06
----- Original Message -----
[#934] Re: UnboundMethod#to_proc
— Mathieu Bouchard <matju@...>
2003/04/06
[#940] Re: UnboundMethod#to_proc
— chr_news@...
2003/04/07
>
[#941] Re: UnboundMethod#to_proc
— Dave Thomas <dave@...>
2003/04/07
>> If they have diverging interfaces such that the contracts conflict
[#936] docs on implementation of ruby and/or ruby-gc ? — Ruben Vandeginste <Ruben.Vandeginste@...>
4 messages
2003/04/07
[#964] Range in logical context — Dave Thomas <dave@...>
If I run
7 messages
2003/04/16
[#965] Re: Range in logical context
— Mauricio Fern疣dez <batsman.geo@...>
2003/04/16
On Thu, Apr 17, 2003 at 06:10:40AM +0900, Dave Thomas wrote:
[#973] problem with rb_rescue2() ? — Mathieu Bouchard <matju@...>
5 messages
2003/04/19
problem with rb_rescue2() ?
From:
Mathieu Bouchard <matju@...>
Date:
2003-04-19 04:25:50 UTC
List:
ruby-core #973
is there any way i can trap exceptions in Ruby without going through rb_rescue ? ... because that one is not quite convenient to use (has to go through another separate function and such...) well, else I make myself a struct on the stack containing receiver, selector, argc, argv, and i pass that to rb_rescue2() like this: rb_rescue2( (RMethod)rb_rescue_funcall_2,(Ruby)&m, (RMethod)rb_rescue_funcall_3,(Ruby)&m, rb_eException,0); where m is the struct. Now I want to ask you how much the ruby internals are resistant to a non-VALUE being passed in a VALUE parameter? Especially the GC and such... Is that looking for trouble ? (segfault ?) ________________________________________________________________ Mathieu Bouchard http://artengine.ca/matju