[Rails] Re: Rails to C binding of libgio

2009-03-12 Thread mvargo
Sorry, I did not put the whole file in the post. Those are in the init module. static VALUE rbgio_init(VALUE self, VALUE path) { VALUE arr, names; rb_iv_set(self, "@path", path); arr = rb_ary_new(); names = rb_ary_new(); rb_iv_set(self, "@attribute_array", arr); rb_iv_set(self, "@na

[Rails] Re: Rails to C binding of libgio

2009-03-12 Thread Jason Roelofs
I see gets but no sets on those ivars you're trying to manipulate. I wouldn't assume that you're editing the values in-place instead of a copy of what the ivars contained unless you've proven that's what you've got (I think that sentence makes sense ...). Given that you're saying the code doesn't