Re: G_DEFINE_TYPE macros



On Sat, 2004-17-07 at 13:51 -0600, Ryan McDougall wrote:
> Hello,
> 	I have some questions about how the macros are suppose to be used: 
> 
> Why is parent_class declared static in the expansion? I don't think I've
> ever read where this is required or even a good idea.
> 
> How does one add class_finalize or base_init/_finalize to the GTypeInfo?
> It seems that only class_init and instance_init are specified.
> 
> Cheers,
> Ryan

In addendum, why are the the functions declared static? Is that
necessary or just good practise?

Cheers,
Ryan




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