Hi Ian,

On Sun, 2005-04-10 at 17:51 -0700, Ian McKellar wrote:
> Binding e-d-s is a pain for a variety of reasons. When I last tried I
> found that the main problems were that a lot of their signals have GList
> arguments (which are listed as gpointer in the object definitions) and a
> lot of their structs aren't registered as gtypes.

Also, they return values through their arguments, e.g.

void e_cal_component_get_uid (ECalComponent *comp, const char **uid);

Which is (a) stupid, because you have a return value for that very
purpose; and (b) really difficult to wrap. I wrapped it for guile, but
it was without a doubt the biggest PITA of any library I've dealt with.

Here's hoping JPR is aware of this, and is going to provide us with nice
a nice gobject+properties wrapper so we don't need to deal with those
functions ;-)
-- 
Andy Wingo
http://wingolog.org/

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to