ts wrote:
> >>>>> "D" == Daniel Berger <djberg96 / hotmail.com> writes:
>
> D> Why are arguments being counted manually?
>
>  it's faster :-)
>
> D>     if(NIL_P(rbNum)){
> D>        rb_thread_sleep_forever();
> D>     }
>
>  it don't do the same thing :-)
>
> uln% ruby -e 'sleep(nil)'
> -e:1:in `sleep': can't convert NilClass into time interval
(TypeError)
>         from -e:1
> uln%

I'm confused - what conversion is it trying to do?  I thought these two
were equivalent:

if(NIL_P(rbNum))

if(Qnil == rbNum)

No?

Regards,

Dan