Re: [gtk-list] Re: Interfaces




glaurent@worldnet.fr said:
// > In ObjC, at least, protocols do that for you.
// Precisely. GTK+ is about to have its own implementation of protocols,
// and ObjC has another one... I suppose the right thing to do will
// simply be not to wrap it at all. 

I am not sure I understand why. 
Objc protocols are roughly abstract declarations of common methods
between objects.
Thus, as long as GTK+ uses interfaces only as declarations object to
reflect non hierarchical similarities, ObjC will be able to wrap them
just perfectly.

ObjC protocols , however, will not be able to wrap Gtk interfaces if they allow
instance variables in their declarations.

	Bertrand 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]