From: "Berger, Daniel" Date: 2006-01-12T01:09:21+09:00 Subject: Re: Smoking out C extension mistakes > -----Original Message----- > From: ts [mailto:decoux@moulon.inra.fr] > Sent: Tuesday, January 10, 2006 10:10 AM > To: ruby-talk ML > Cc: ruby-talk@ruby-lang.org > Subject: Re: Smoking out C extension mistakes > > > >>>>> "P" == Paul Brannan writes: > > P> You could use: > P> if(foo == Qnil) > P> instead of using the NIL_P macro. > > #define NIL_P(v) ((VALUE)(v) == Qnil) > > :-) > > > Guy Decoux So, is there a way to catch my mistake or not Guy? - Dan