From: Kouhei S. <ko...@co...> - 2016-01-24 11:18:56
|
Hi, In <CAG...@ma...> "[ruby-gnome2-devel-en] NotImplementedError: TODO: GIArgument(array)[c][gdouble] -> Ruby" on Sun, 24 Jan 2016 10:11:37 +0000, jc...@gm... wrote: > Hi all, I'm seeing an unimplemented error when I try to read an array > of double from an object: > > NotImplementedError: TODO: GIArgument(array)[c][gdouble] -> Ruby > from /home/john/packages/gems/gems/gobject-introspection-3.0.7/lib/gobject-introspection/loader.rb:551:in > `invoke' > > Could this feature be added? > > I'm happy to try to make a patch if someone can point me towards the > bits of code that need writing. array_c_to_ruby_sized() in gobject-introspection/ext/gobject-introspection/rb-gi-argument.c will help you: https://github.com/ruby-gnome2/ruby-gnome2/blob/master/gobject-introspection/ext/gobject-introspection/rb-gi-argument.c#L153 Thanks, -- kou |