From: ts Date: 2001-04-12T14:18:39+09:00 Subject: [ruby-talk:13614] Re: Data_Get_Struct wants a DATA... but I don't have one? >>>>> "C" == Colin Steele writes: C> This is almost identical to the example in the pickaxe book... what am C> I missing? Like have said matz you have forgotten to define new, more you'll have a memory leak C> tdata = Data_Make_Struct(class, C> foo, C> 0, C> 0, free, C> ptr); Data_Make_Struct call ALLOC C> return tdata; Guy Decoux