Re: Adding g_object_get_type?



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]