From: Christian Boos Date: 2002-04-10T21:32:46+09:00 Subject: RE: Little interface improvement request for embedding Ruby Hi Nobu, > -----Original Message----- > From: nobu.nokada@softhome.net [mailto:nobu.nokada@softhome.net] > Sent: Tuesday, April 09, 2002 7:06 PM > To: ruby-talk ML > Subject: Re: Little interface improvement request for embedding Ruby > > > Hi, > > At Wed, 10 Apr 2002 00:51:55 +0900, > Christian Boos wrote: > > Currently I have not found a way to detect if the initialization > > was done or not. Maybe there's a workaround (I'm interested++) but > > I think the best way is the one I suggested. > > I suppose you can check whether rb_cObject or something is > initialized or not. > I could if they were initialized to some meaningful value (e.g. declared as VALUE rb_cObject = Qnil; ) But unfortunately all the extern values are left uninitialized and can't be reliably checked. I aggree that this would be an other alternative. -- Christian