View Single Post
Old 11-11-2009, 01:59 AM   #112
hansel
JSR FFD2
hansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheese
 
hansel's Avatar
 
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
Post

Quote:
Originally Posted by ericshliao View Post
So I checked with Navigator.lua and pixbuf.def and found it strange (as the attached image). In pixbuf.def, there is an entry for gdk_pixbuf_loader_write(), but not listed on Navigator.lua.
When building lgob, the log file (./lgob-9.09/gdk/log) shows that gdk_pixbuf_loader_write() is not handled (no code is generated)

This is (probably) because of the second parameter

Code:
defFunction('gdk_pixbuf_loader_write',
        {
                class = 'GdkPixbufLoader',
                since = '0.1',
                args = {'GObject* none', 'unhandled none', 'gsize none', 'GError** full'},
                ret = 'boolean none'
        }
)
This is (probably) caused by the fact that lgob's code generator does not understand the corresponding type (yet)

Code:
gboolean  gdk_pixbuf_loader_write  (
  GdkPixbufLoader *loader,
  const guchar *buf,
  gsize count,
  GError **error);
I'll check this with Lgob's author...

Edit: I just got a replay form Lucas: The analyse was correct, it will be fixed soon in a Lgob update. Il update the Iliad package after that...

Last edited by hansel; 11-11-2009 at 01:12 PM.
hansel is offline   Reply With Quote