From: Christian Boos Date: 2002-04-10T22:01:31+09:00 Subject: RE: Little interface improvement request for embedding Ruby > -----Original Message----- > From: nobu.nokada@softhome.net [mailto:nobu.nokada@softhome.net] > Sent: Wednesday, April 10, 2002 2:59 PM > To: ruby-talk ML > Subject: Re: Little interface improvement request for embedding Ruby > > > Hi, > > At Wed, 10 Apr 2002 21:32:46 +0900, > Christian Boos wrote: > > > > I could if they were initialized to some meaningful value > > (e.g. declared as VALUE rb_cObject = Qnil; ) > > Before initialization, rb_cObject is 0. you can check just > rb_cObject or RTEST(rb_cObject). > Hum... Sorry, I will check that. My C skills are not perfect, and I thought that you couldn't rely on the fact that : VALUE rb_cObject; means rb_cObject will be 0, on all platforms/compilers. -- CB