Re: PATCH: G_DEFINE_INTERFACE_TYPE macro
- From: Matthias Clasen <mclasen redhat com>
- To: Tiago Cogumbreiro <cogumbreiro linus uac pt>
- Cc: timj gtk org, Gtk+ Devel <gtk-devel-list gnome org>
- Subject: Re: PATCH: G_DEFINE_INTERFACE_TYPE macro
- Date: Wed, 25 Aug 2004 11:31:34 -0400
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]