On Sun, 2005-08-21 at 12:31 -0400, Havoc Pennington wrote: > > Another thing I would be interested as an extension to the above is > > specialisation (or rather, restriction) of containers to particular > > GTypes. If for example, we had a call such as > > > > GType > > g_type_specialise(GType type, ...) > > I think at some point you should accept you're coding in C ;-) if we > just reimplement Java/C#/Python poorly, it's not that useful ... Ahem. Going offtopic a bit, but we have an implementation of this in the DBus GLib bindings actually: http://cvs.freedesktop.org/dbus/dbus/glib/dbus-gtype-specialized.h?view=log http://cvs.freedesktop.org/dbus/dbus/glib/dbus-gtype-specialized.c?view=log There was discussion on gtk-devel-list about it, I don't think there were any fundamental objections. I just need to find the time to adddress the concerns raised and create a patch.
Description: This is a digitally signed message part