Re: GTypeInfo and class/instance sizes



On 3 Apr 2001, Martin Baulig wrote:

> Hi,
> 
> this may sound a bit strange, but if you have a GType (without
> knowing anything in particular about that type) there doesn't
> seem to be a way to get it's class and instance size.
> 
> If you want to derive that type, you need to fill in the class
> and instance sizes into the GTypeInfo struct even if you don't
> want to create new C types for it.

g_type_query().

---
ciaoTJ





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