From: GD Date: 2007-01-18T20:03:46+09:00 Subject: Re: Ruby and E.V.E. Paradox Hey gga, gga wrote: >>My current code crashes (in the second rb_gc) with something of the form: >> > Post your ACTUAL code that crashes. Of course. Reasons why I haven't done this yet in my previous post. Will post when I can get a reasonably minimal set with problems. > init_ruby() does not exist as an > api call in ruby, so we'll need to see source to that. My mistake, init_ruby should be ruby_init, it was late and I was going from memory. > #include > > void a() > { > ruby_init(); > rb_gc(); > } > > void b() > { > rb_gc(); > } > > int main(int argc, char **argv) > { > a(); > b(); > return 0; > } > > I can tell you it works fine for me, Okay, that's good news. I have a working side and a failing side to work from now, let's find where they meet in the middle. Garth