Re: Adding g_object_get_type?
- From: Sven Neumann <sven gimp org>
- To: Darin Adler <darin bentspoon com>
- Cc: Gtk Developers <gtk-devel-list gnome org>
- Subject: Re: Adding g_object_get_type?
- Date: 09 Nov 2001 13:23:33 +0100
Hi,
Darin Adler <darin bentspoon com> writes:
> For some kinds of programs that use macros to write code, it would be useful
> if there was a g_object_get_type function. Is there any compelling reason
> not to add it to glib?
because it's already there?
#define G_TYPE_FROM_INSTANCE(instance) (G_TYPE_FROM_CLASS (((GTypeInstance*) (instance))->g_class))
#define G_OBJECT_TYPE(object) (G_TYPE_FROM_INSTANCE (object))
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]