Re: Fundamental Type Registration

On 7/27/06, Kaustubh Atrawalkar <kaustubh atrawalkar celunite com> wrote:
Hi All,

I have some conflicts about fundamental type registration mechanism. How
can i create a instance of new fundamental type that i have created. I
used g_type_create_instance() but when i call this function the next
line the program crashes and exits.
Also how a fundamental type registration is useful over static in the
sense of memory requirement? Cause both need to be initialized before
using them.

There should be basically no need to ever create a new fundamental
type. What are you trying to do that cannot be achieved by
subclassing GObject ?

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