[#407] New feature for Ruby? — Clemens.Hintze@...

Hi all,

27 messages 1999/07/01
[#413] Re: New feature for Ruby? — matz@... (Yukihiro Matsumoto) 1999/07/01

Hi Clemens,

[#416] Re: New feature for Ruby? — Clemens Hintze <c.hintze@...> 1999/07/01

On Thu, 01 Jul 1999, Yukihiro Matsumoto wrote:

[#418] Re: New feature for Ruby? — gotoken@... (GOTO Kentaro) 1999/07/01

Hi

[#426] Re: New feature for Ruby? — gotoken@... (GOTO Kentaro) 1999/07/02

Hi,

[#440] Now another totally different ;-) — Clemens Hintze <c.hintze@...>

Hi,

21 messages 1999/07/09
[#441] Re: Now another totally different ;-) — matz@... (Yukihiro Matsumoto) 1999/07/09

Hi,

[#442] Re: Now another totally different ;-) — Clemens Hintze <c.hintze@...> 1999/07/09

On Fri, 09 Jul 1999, you wrote:

[#443] — Michael Hohn <hohn@...>

Hello,

26 messages 1999/07/09
[#444] interactive ruby, debugger — gotoken@... (GOTO Kentaro) 1999/07/09

Hi Michael,

[ruby-talk:00531] Re: What is the difference?

From: matz@... (Yukihiro Matsumoto)
Date: 1999-07-25 17:40:57 UTC
List: ruby-talk #531
In message "[ruby-talk:00527] What is the difference?"
    on 99/07/25, Clemens Hintze <c.hintze@gmx.net> writes:

|could anybody please explain me, what is the difference of functions
|`rb_iterator_p' and `rb_f_iterator_p'?

rb_iterator_p() is the function to check whether the calling function
is called with block.  rb_f_iterator_p() is the function to implement
the method `iterator?'.  Since `iterator?' itself is the method,
rb_f_iterator_p() checks 1 level above.  You are not supposed to call
rb_f_iterator_p() from your C function.  That's why is's static.

                                                matz.

In This Thread

Prev Next