From: Lenny Date: 2003-03-30T05:39:12+09:00 Subject: Re: C-API: Setting a Ruby-Object in a wrapped C struct Hi, > Data_Get_Struct(self, foo, p); > p->bar = obj; [...] > p.s. : don't forget to have a mark function for your struct and mark p->bar