From: Derek Lewis Date: 2003-12-14T04:55:31+09:00 Subject: Re: strange rb_gc_mark error Well, the osd object has a destroy function: xosd_destroy(osd); which I call from the finalizer of my ruby object. If you mean the r_osd object, the FixNum, well, I don't free it... this is my first extension, and I haven't been able to find any documentation on writing ruby extensions outside of pickaxe. On Sun, 14 Dec 2003, ts wrote: > >>>>> "D" == Derek Lewis writes: > > D> osd = xosd_create(lines); > D> r_osd = INT2FIX( (int)osd ); > > D> rb_iv_set(self, "@osd", r_osd); > > How do you free the object ? > > > Guy Decoux > > Derek Lewis =================================================================== Java Web-Application Developer Email : email@lewisd.com Cellular : 604.312.2846 Website : http://www.lewisd.com "If you've got a 5000-line JSP page that has "all in one" support for three input forms and four follow-up screens, all controlled by "if" statements in scriptlets, well ... please don't show it to me :-). Its almost dinner time, and I don't want to lose my appetite :-)." - Craig R. McClanahan