From: nobu.nokada@... Date: 2002-04-10T21:58:45+09:00 Subject: Re: Little interface improvement request for embedding Ruby Hi, At Wed, 10 Apr 2002 21:32:46 +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; ) Before initialization, rb_cObject is 0. you can check just rb_cObject or RTEST(rb_cObject). -- Nobu Nakada