Re: dbus glib bindings: deriving from G_TYPE_BOXED, parameterized types

2005-05-25 Thread Colin Walters
On Mon, 2005-05-16 at 17:29 -0400, Colin Walters wrote: Indeed. I've attached the generic part of the dbus work here. There's dbus-gtype-specialized.[hc], which define an interface for both registering and manipulating specialized types of collections (GArray, GPtrArray, GList), and maps

Re: dbus glib bindings: deriving from G_TYPE_BOXED, parameterized types

2005-05-16 Thread Matthias Clasen
On Mon, 2005-05-16 at 15:16 +0200, Tim Janik wrote: On Fri, 13 May 2005, Matthias Clasen wrote: On Fri, 2005-05-13 at 13:01 -0400, Colin Walters wrote: As I just pointed out to Colin, using derivation to model the relation between generic types and their specializations is not really

Re: dbus glib bindings: deriving from G_TYPE_BOXED, parameterized types

2005-05-16 Thread Owen Taylor
On Mon, 2005-05-16 at 15:16 +0200, Tim Janik wrote: On Fri, 13 May 2005, Matthias Clasen wrote: On Fri, 2005-05-13 at 13:01 -0400, Colin Walters wrote: As I just pointed out to Colin, using derivation to model the relation between generic types and their specializations is not really

Re: dbus glib bindings: deriving from G_TYPE_BOXED, parameterized types

2005-05-16 Thread Colin Walters
[I'm dropping dbus@ from the CC; however I just sent an updated patch there which may be interesting context for this] On Mon, 2005-05-16 at 15:22 +0200, Tim Janik wrote: is this type meant to be abstract (i.e. you'd only use boxed instances which are truly parameterized)? Yeah. 1) Type