From: jm Date: 2004-05-03T08:21:27+09:00 Subject: Re: rb_struct_new example needed Bashes head against keyboard. Doumo arigatou. That was it. It now runs smoothly. By the end of today you should be about to say ruby has yet another module. Jeff. On 01/05/2004, at 9:58 AM, Yukihiro Matsumoto wrote: > Hi, > > In message "rb_struct_new example needed" > on 04/04/30, jm writes: > > |So I was hoping someone could tell me if the following is valid, after > |calling rb_struct_define with a list of cstrings, > | > |rb_vfr_obj = rb_struct_new(vflowrec, 0); > | > |and then to use rb_struct_aset() as above. > > No. You have to define members first by rb_struct_new() to use > rb_struct_aset(). > > |Any pointer in the right direction welcome. > > Show us the whole code. > > matz. >