Re: Adding g_object_get_type?
- From: Havoc Pennington <hp redhat com>
- To: James Henstridge <james daa com au>
- Cc: Darin Adler <darin bentspoon com>, Gtk Developers <gtk-devel-list gnome org>
- Subject: Re: Adding g_object_get_type?
- Date: 09 Nov 2001 14:30:23 -0500
James Henstridge <james daa com au> writes:
> In my code, I just use the XXX_TYPE_XXXX symbols, which are either
> macros calling the get_type() routine, global variables or enumeration
> constants. This is works better than looking for get_type() routines
> from my experience.
The "official doctrine" is indeed that you should never put the
foo_get_type() functions in your code, always use FOO_TYPE macros
instead, because some types are fundamental/builtin and thus not
registered via function.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]