Re: PATCH: G_DEFINE_INTERFACE_TYPE macro



On Wed, 2004-08-25 at 11:26, Tiago Cogumbreiro wrote:
> I've implemented a macro that i find it to be missing to the
> G_DEFINE_*_TYPE: G_DEFINE_INTERFACE_TYPE
> 
> As the name infers it's supposed to define the get_type function which
> defines an interface.

You don't need TYPE_PARENT here, since interface types are always
derived from G_TYPE_INTERFACE. And you may want a variant of that
macro which allows to handle prerequisites.

Matthias




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